Skip to content

Commit

Permalink
Fix Ubuntu 20.04 user-data (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
sestegra authored Sep 25, 2021
1 parent 0d458d8 commit b45eeb6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ autoinstall:
network:
version: 2
ethernets:
ens33:
ens192:
dhcp4: true
ssh:
install-server: true
Expand All @@ -32,6 +32,4 @@ autoinstall:
- 'sed -i "s/dhcp4: true/&\n dhcp-identifier: mac/" /target/etc/netplan/00-installer-config.yaml'
- echo '${build_username} ALL=(ALL) NOPASSWD:ALL' > /target/etc/sudoers.d/${build_username}
- curtin in-target --target=/target -- chmod 440 /etc/sudoers.d/${build_username}
- curtin in-target --target=/target -- apt-get update
- curtin in-target --target=/target -- apt-get upgrade --yes
timezone: ${vm_guest_os_timezone}

0 comments on commit b45eeb6

Please sign in to comment.