Skip to content

Commit

Permalink
Work around for "The repository does not have a release file"
Browse files Browse the repository at this point in the history
  • Loading branch information
Bischoff committed Jun 5, 2023
1 parent cd2be08 commit 56b206a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend_modules/aws/host/user_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ runcmd:
- echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
- echo "PubkeyAcceptedKeyTypes=+ssh-rsa" >> /etc/ssh/sshd_config
- systemctl restart sshd
# Work around security release/updates does not have a Release file
# WORKAROUND: security release/updates does not have a Release file
- sed -i "s|bullseye/updates|bullseye-security|" /etc/apt/sources.list

packages: ["salt-minion"]
Expand Down
4 changes: 3 additions & 1 deletion backend_modules/libvirt/host/user_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -565,10 +565,12 @@ apt:
-----END PGP PUBLIC KEY BLOCK-----
runcmd:
# HACK: cloud-init in Debian 11 does not take care of the following
# HACK: cloud-init in Debian 11 does not take care of the following
- echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
- systemctl restart sshd
- systemctl start qemu-guest-agent
# WORKAROUND: security release/updates does not have a Release file
- sed -i "s|bullseye/updates|bullseye-security|" /etc/apt/sources.list

bootcmd:
# HACK: Make "gnupg" to be installed before configuring repos, so gpg key can be imported
Expand Down

0 comments on commit 56b206a

Please sign in to comment.