tests(packer): cleanup cloud init files.
This commit is contained in:
parent
c3c61a9270
commit
3fc4c29968
12 changed files with 79 additions and 76 deletions
|
|
@ -37,15 +37,21 @@ runcmd:
|
|||
- apt-get install -y -t bookworm-backports golang-go
|
||||
|
||||
write_files:
|
||||
|
||||
# Add backports repository
|
||||
- path: /etc/apt/sources.list
|
||||
append: true
|
||||
content: deb http://deb.debian.org/debian bookworm-backports main contrib non-free
|
||||
|
||||
# Setup shared directory
|
||||
- path: /etc/fstab
|
||||
append: true
|
||||
content: |
|
||||
0a31bc478ef8e2461a4b1cc10a24cc4 /home/user/Projects/apparmor.d virtiofs defaults 0 1
|
||||
|
||||
# Network configuration
|
||||
- path: /etc/systemd/network/20-wired.network
|
||||
owner: 'root:root'
|
||||
permissions: '0644'
|
||||
owner: "root:root"
|
||||
permissions: "0644"
|
||||
content: |
|
||||
[Match]
|
||||
Name=en*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue