alpine: also setup hostname on boot

This commit is contained in:
Nico Schottelius 2019-12-01 00:11:42 +01:00
parent e0831f8b68
commit 1d1079bfc7
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ run_root apk add openssh linux-vanilla openrc udev
run_root rc-update add udev
run_root rc-update add sshd
run_root rc-update add networking
run_root rc-update add hostname
# Generate iniramfs image
(cd $rootfs_tmpdir; find . | cpio -H newc -o | gzip -9 > "$working_directory/alpine-initramfs.gz")