diff --git a/alpine-rebuild-initramfs.sh b/alpine-rebuild-initramfs.sh index 7d50910..6539367 100755 --- a/alpine-rebuild-initramfs.sh +++ b/alpine-rebuild-initramfs.sh @@ -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")