How to use netword_data_file_id with initialization block in VM? #2125
petarnikolovski
started this conversation in
General
Replies: 1 comment
-
I've actually found out that cloud-init will perform the rename independently and prior to netplan and when |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to use network data file with VM, but it does not get applied to VM.
What happens?
/etc/netplan/50-cloud-init.yaml
ip a
shows default proxmox interfacesensX
, and not interfaces I've defined)sudo netplan apply
it passes with green lights and when check withip a
all interfaces are defined properly now (there are no errors in the netplan configuration)cloud-init
in proxmox UI shows netplan values from a cloned template instead of values fromnetwork_data_file_id
(however if I useip_config
forminitialization
block then proxmox UI properly overrides values incloud-init
tab for VM cloned from a templateIt works if I add:
to cloud-config, however boot time is longer than usual (cca 3min) (I guess because of networking guest agent has some problems, so boot lags - this does not happen when I use
ip_config
).I have no option using
ip_config
- since I have fairly complex network requirements, however, I am not sure how to properly use network data file with the provider. What is the usual way in whichnetwork_data_file_id
is expected to be used? And is it expected for those setting to not get applied in the same way asip_config
?Beta Was this translation helpful? Give feedback.
All reactions