This commit is contained in:
parent
5cad62cb1f
commit
5ac76ae983
3 changed files with 5 additions and 0 deletions
1
modules/hostname.lua
Normal file
1
modules/hostname.lua
Normal file
|
@ -0,0 +1 @@
|
|||
add_file("/etc/hostname", "cauquenitx")
|
|
@ -249,6 +249,9 @@ install -m0664 -o root -g utmp /dev/null /run/utmp
|
|||
|
||||
msg "Setting up loopback interface..."
|
||||
ip link set up dev lo
|
||||
|
||||
msg "Setting hostname..."
|
||||
hostname -F /etc/hostname
|
||||
]])
|
||||
|
||||
-- Initial boot
|
||||
|
|
|
@ -46,6 +46,7 @@ local function module(name)
|
|||
end
|
||||
module "kernel"
|
||||
module "runit"
|
||||
module "hostname"
|
||||
|
||||
print("=> Writing fstab...")
|
||||
add_file("/etc/fstab", utils.join_table(mounts, "\n"))
|
||||
|
|
Loading…
Reference in a new issue