|
|
|
##############################################################################
|
|
|
|
Adding a new metal server node for Proxmox.
|
|
|
|
|
|
|
|
Allocate IP on firewall and set up port forwarding for ssh.
|
|
|
|
|
|
|
|
Run bootstrap file such as forksand-sf-005-bootstrap from
|
|
|
|
../sharkfork-bootstrap/forksand-sf-005-bootstrap
|
|
|
|
##############################################################################
|
|
|
|
Log into web interface:
|
|
|
|
Set up tunnel:
|
|
|
|
ssh -N -C -L 18025:localhost:8006 sf-005
|
|
|
|
Then in web browser go to:
|
|
|
|
https://localhost:18025/
|
|
|
|
|
|
|
|
Log in.
|
|
|
|
Set up Proxmox subscription key.
|
|
|
|
|
|
|
|
See:
|
|
|
|
../sharkfork-bootstrap/forksand-sf-proxmox
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
# unlock example:
|
|
|
|
qm unlock 102
|
|
|
|
##############################################################################
|
|
|
|
# Resize disk:
|
|
|
|
apt install parted
|
|
|
|
|
|
|
|
# Delete partition, create new one new full size, write.
|
|
|
|
# If there is a GPT disklabel, hit "g" to create a new label. (This won't change partition label, /etc/ftab is Ok unchanged.)
|
|
|
|
fdisk /dev/FOO
|
|
|
|
|
|
|
|
# Re-read partition table
|
|
|
|
partprobe -s
|
|
|
|
|
|
|
|
# Resize filesystem
|
|
|
|
resize2fs -p /dev/FOO
|
|
|
|
##############################################################################
|