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

@ -22,7 +22,7 @@ main() {
install -Dm0644 $SRC/site.local /etc/apparmor.d/tunables/multiarch.d/site.local
install -Dm0755 $SRC/aa-update /usr/bin/aa-update
install -Dm0755 $SRC/aa-log-clean /usr/bin/aa-log-clean
cat $SRC/parser.conf >> /etc/apparmor/parser.conf
cat $SRC/parser.conf >>/etc/apparmor/parser.conf
chown -R "$SUDO_USER:$SUDO_USER" "/home/$SUDO_USER/.config/"
case "$DISTRIBUTION" in
arch) pacman --noconfirm -U $SRC/*.pkg.tar.zst ;;