alpine: also setup hostname on boot
This commit is contained in:
parent
e0831f8b68
commit
1d1079bfc7
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ run_root apk add openssh linux-vanilla openrc udev
|
||||||
run_root rc-update add udev
|
run_root rc-update add udev
|
||||||
run_root rc-update add sshd
|
run_root rc-update add sshd
|
||||||
run_root rc-update add networking
|
run_root rc-update add networking
|
||||||
|
run_root rc-update add hostname
|
||||||
|
|
||||||
# Generate iniramfs image
|
# Generate iniramfs image
|
||||||
(cd $rootfs_tmpdir; find . | cpio -H newc -o | gzip -9 > "$working_directory/alpine-initramfs.gz")
|
(cd $rootfs_tmpdir; find . | cpio -H newc -o | gzip -9 > "$working_directory/alpine-initramfs.gz")
|
||||||
|
|
Loading…
Reference in a new issue