root@localhost:/etc/netplan# ip -br -c link show
lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
ens18 DOWN bc:24:11:03:5a:98 <BROADCAST,MULTICAST>
ens19 DOWN bc:24:11:e3:db:df <BROADCAST,MULTICAST>
bond1 DOWN 96:0f:b3:c7:d7:a5 <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP>
My /etc/netplan/50-cloud-init.yaml requires a few changes for the appliance VM
--snip--
fabric0:
accept-ra: false
dhcp4: false
dhcp6: false
match:
name: ens19 <-- after reboot this is fabric0
optional: true
mgmt0:
accept-ra: false
dhcp4: false
dhcp6: false
match:
name: ens18 <-- after reboot this is mgmt0
optional: true
Once I make the change to ens18 and ens19 and run netplan apply, my appliance works properly, all networking is up. If there is a reboot of the appliance, I need to go to the console, make the changes to ens18 and ens19 and run netplan apply
Not the end of the world, but how do I make this persistent after reboot?
I've tried touch /etc/network/.pve-ignore.interfaces after reboot, the .pve-ignore.interfaces.is gone and the 50-cloud-init.yaml needs to be edited to for ens18 and ens19
Is there a way to make this change persistent across reboots?
lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
ens18 DOWN bc:24:11:03:5a:98 <BROADCAST,MULTICAST>
ens19 DOWN bc:24:11:e3:db:df <BROADCAST,MULTICAST>
bond1 DOWN 96:0f:b3:c7:d7:a5 <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP>
My /etc/netplan/50-cloud-init.yaml requires a few changes for the appliance VM
--snip--
fabric0:
accept-ra: false
dhcp4: false
dhcp6: false
match:
name: ens19 <-- after reboot this is fabric0
optional: true
mgmt0:
accept-ra: false
dhcp4: false
dhcp6: false
match:
name: ens18 <-- after reboot this is mgmt0
optional: true
Once I make the change to ens18 and ens19 and run netplan apply, my appliance works properly, all networking is up. If there is a reboot of the appliance, I need to go to the console, make the changes to ens18 and ens19 and run netplan apply
Not the end of the world, but how do I make this persistent after reboot?
I've tried touch /etc/network/.pve-ignore.interfaces after reboot, the .pve-ignore.interfaces.is gone and the 50-cloud-init.yaml needs to be edited to for ens18 and ens19
Is there a way to make this change persistent across reboots?