Skip to content

Commit

Permalink
Merge pull request #87 from ElstonLewis/Improvements_Debian12
Browse files Browse the repository at this point in the history
Updated builder scripts for Debian 12 dhcp ntp issue
  • Loading branch information
ElstonLewis authored Oct 22, 2024
2 parents ce321ce + 1adba8a commit ea0477b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/linux/net-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ set -e
if [[ "$1" == "debian12" ]] || [[ "$1" == "ubuntu24"* ]]; then
chroot /mnt/ apt install net-tools -y
fi

# Netplan file permission fix OMI-239
if [[ "$1" == "debian12" ]]; then
chmod 644 /mnt/etc/netplan/50-cloud-init.yaml
fi
5 changes: 5 additions & 0 deletions scripts/linux/ntp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ if [[ "$1" == "debian12" ]]; then
chroot /mnt/ apt update -y
chroot /mnt/ apt install chrony -y
fi

# make executable chronyd script fix OMI-239
if [[ "$1" == "debian12" ]]; then
chmod +x /mnt/etc/dhcp/dhclient-exit-hooks.d/chrony
fi

0 comments on commit ea0477b

Please sign in to comment.