forked from kwilczynski/packer-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Ubuntu 20.04 (Focal Fossa)
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
- Loading branch information
1 parent
d4c31fd
commit 42905ff
Showing
7 changed files
with
1,300 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
d-i preseed/include string ../../common/preseed.cfg ../preseed.cfg | ||
|
||
d-i pkgsel/include string openssh-server build-essential libssl-dev libreadline-dev zlib1g-dev linux-source dkms qemu-guest-agent | ||
|
||
d-i preseed/late_command string \ | ||
in-target sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT="\(.*\)"/GRUB_CMDLINE_LINUX_DEFAULT="\1 net.ifnames=0 biosdevname=0"/g' /etc/default/grub; \ | ||
in-target sed -i -e 's/\(enp0\|ens[0-9]\)[a-z0-9]\+/eth0/g' /etc/netplan/01-netcfg.yaml; \ | ||
in-target update-grub; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
d-i preseed/include string ../../common/preseed.cfg ../preseed.cfg | ||
|
||
d-i pkgsel/include string openssh-server build-essential libssl-dev libreadline-dev zlib1g-dev linux-source dkms nfs-common | ||
|
||
d-i preseed/late_command string \ | ||
in-target sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT="\(.*\)"/GRUB_CMDLINE_LINUX_DEFAULT="\1 net.ifnames=0 biosdevname=0"/g' /etc/default/grub; \ | ||
in-target sed -i -e 's/\(enp0\|ens[0-9]\)[a-z0-9]\+/eth0/g' /etc/netplan/01-netcfg.yaml; \ | ||
in-target update-grub; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.