tests(packer): cleanup cloud init files.

This commit is contained in:
Alexandre Pujol 2024-03-15 14:55:46 +00:00
parent c3c61a9270
commit 3fc4c29968
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
12 changed files with 79 additions and 76 deletions

View file

@ -27,7 +27,7 @@ packages:
- spice-vdagent
- terminator
- apparmor-profiles
- build-essential
- build-essential
- config-package-dev
- debhelper
- devscripts
@ -42,7 +42,6 @@ snap:
- install snapd-desktop-integration
runcmd:
# Remove default filesystem and related tools not used with the suggested
# storage layout. These may yet be required if different partitioning schemes
# are used.
@ -64,7 +63,6 @@ runcmd:
- apt-get -y autoremove
write_files:
# Setup shared directory
- path: /etc/fstab
append: true
@ -72,8 +70,8 @@ write_files:
0a31bc478ef8e2461a4b1cc10a24cc4 /home/user/Projects/apparmor.d virtiofs defaults 0 1
- path: /etc/systemd/network/20-wired.network
owner: 'root:root'
permissions: '0644'
owner: "root:root"
permissions: "0644"
content: |
[Match]
Name=en*