diff --git a/proxmox/nixprox.sh b/proxmox/nixprox.sh index d0117b4d..9a41f096 100644 --- a/proxmox/nixprox.sh +++ b/proxmox/nixprox.sh @@ -19,10 +19,13 @@ NAME=$2 # https://pve.proxmox.com/pve-docs/pct.1.html # --ssh-public-keys -#pct create $ID local:vztmpl/nixos-system-x86_64-linux.tar.xz --arch amd64 --hostname $NAME --ostype unmanaged --net0 name=eth0,bridge=vmbr0,tag=5 --storage vms-slow --cmode shell -pct create $ID $TEMPLATE --hostname $NAME --ostype unmanaged --arch amd64 --net0 name=eth0,bridge=vmbr0,tag=5 --storage vms-slow --cmode shell --features nesting=1 -echo "lxc.init.cmd: /init" >> /etc/pve/lxc/$ID.conf +# storage: there's enough of slow +# memory: enough for building stuff +# net vlan tag 5: c3d2 (with dhcp). request a static IP address with Astro and move to 3 (serv). +pct create $ID $TEMPLATE --hostname $NAME --ostype unmanaged --arch amd64 --net0 name=eth0,bridge=vmbr0,tag=5 --storage vms-slow --memory 4096 --cmode shell --features nesting=1 +# this boots the current profile +echo "lxc.init.cmd: /sw/bin/init" >> /etc/pve/lxc/$ID.conf -echo Done, Starting $ID +echo Starting $ID pct start $ID