summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-08-18 18:21:37 +0200
committerAnton Khirnov <anton@khirnov.net>2023-08-18 18:21:37 +0200
commit36a7d1dfbb175c1028e585906974dc01f7d21f6b (patch)
treefaa95d80fc47dfef9a63f22c4392f07a42a35838
parentbd0582656e9c78d7977cb1ece7b47e542552d230 (diff)
lxc_rootfs_debootstrap: add etc/hostname to templates
It contains the LXC_NAME variable
-rwxr-xr-xlxc_rootfs_debootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/lxc_rootfs_debootstrap b/lxc_rootfs_debootstrap
index 71e79ef..9851dec 100755
--- a/lxc_rootfs_debootstrap
+++ b/lxc_rootfs_debootstrap
@@ -143,6 +143,7 @@ initscripts_disable = [
lxc_templates = """
etc/hosts
+etc/hostname
"""
class Bootstrapper: