summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlxc_rootfs_debootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/lxc_rootfs_debootstrap b/lxc_rootfs_debootstrap
index 9851dec..fe16912 100755
--- a/lxc_rootfs_debootstrap
+++ b/lxc_rootfs_debootstrap
@@ -291,7 +291,7 @@ class Bootstrapper:
# write /etc/hostname
with open_dirfd('hostname', 'w', dir_fd = self._etc_fd) as f:
- f.write('LXC_NAME')
+ f.write('LXC_NAME\n')
# write /etc/hosts
# cdebootstrap writes a minimal default, but we overwrite it