packer: fixing networking

This commit is contained in:
2023-04-14 16:34:58 -07:00
parent 10be9bac41
commit f0abff9f6a
10 changed files with 45 additions and 57 deletions

View File

@@ -5,9 +5,7 @@
chpasswd:
expire: false
list:
- name: ubuntu
password: ubuntu
type: text
- ubuntu:ubuntu
hostname: node16
ssh_pwauth: true
@@ -23,10 +21,3 @@ disable_root: true
resize_rootfs: true
network:
Version: 2
Renderer: networkd
ethernets:
eth0:
dhcp4: yes
dhcp6: yes