Skip to content

Commit f19284d

Browse files
Copilotraisedadead
andauthored
chore(cloudinit): remove outdated config (#1101)
Co-authored-by: raisedadead <1884376+raisedadead@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 5e0b13b commit f19284d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cloud-init/basic.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ runcmd:
1616
sed -i -e '/^PasswordAuthentication/s/^.*$/PasswordAuthentication no/' /etc/ssh/sshd_config
1717
sed -i -e '/^PubkeyAuthentication/s/^.*$/PubkeyAuthentication yes/' /etc/ssh/sshd_config
1818
sed -i -e '$aAllowUsers freecodecamp' /etc/ssh/sshd_config
19-
# Configure hostname
20-
- |
21-
sed -i '/preserve_hostname: false/c\preserve_hostname: true' /etc/cloud/cloud.cfg
22-
hostnamectl set-hostname ubuntu-server
23-
echo "ubuntu-server" > /etc/hostname
2419
# :-----------------------: WARNING :-----------------------:
2520
#
2621
# This next line should be the last command in the list,

0 commit comments

Comments
 (0)