delmar
(D Delmar Davis)
1
Ok I have been trying to get a trivia/cloud vm to boot with a static ip address.
root@nick:~# incus init trixie-vm-cloud -c limits.cpu=4 -c limits.memory=8GiB -d root,size=20GiB --vm gru -p default -p merlot -c cloud-init.network-config="$(cat <<EOF
version: 2
ethernets:
enp5s0:
addresses:
- 192.168.129.130/17
gateway4: 192.168.128.1
nameservers:
addresses:
- 192.168.128.1
EOF
)"
Then I
root@nick:~# incus --console gru
And I get a boot loop. WTFO???
delmar
(D Delmar Davis)
2
I love/HATE how my browser changes trixie to trivia. #$!3&%^#@~ apple=suckdifferent
delmar
(D Delmar Davis)
3
delmar
(D Delmar Davis)
4
Also that is the debian/13/cloud image from images…
stgraber
(Stéphane Graber)
5
Make sure Incus is fully up to date on your system, this looks like you may be one package update behind.
delmar
(D Delmar Davis)
6
Thanks @stgraber That took care of the boot loop.
Now I just need to figure out how to get the static ip
delmar
(D Delmar Davis)
7
And actually after deleting and recreating the vm it solved both. Thanks again @stgraber