diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-08-18 18:34:56 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-08-18 18:34:56 +0200 |
commit | 109b848a3bd2ed76189876fe2fd3a8c46878fa66 (patch) | |
tree | 0922f107ff16868dd932b5858d6825cdac55d947 | |
parent | 36a7d1dfbb175c1028e585906974dc01f7d21f6b (diff) |
-rwxr-xr-x | lxc_rootfs_debootstrap | 2 |
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 |