]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix hostname in interface config for apline template
authorAndrey Kostin <andrey@kostin.email>
Wed, 11 May 2016 20:32:40 +0000 (23:32 +0300)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Nov 2016 23:27:54 +0000 (18:27 -0500)
Signed-off-by: Andrey Kostin <andrey@kostin.email>
templates/lxc-alpine.in

index 2865e4df8207257a0fb5ce4a0b89f8f518e4284b..36955de1df067478eb27539163ec242cc6885f5c 100644 (file)
@@ -149,7 +149,7 @@ iface lo inet loopback
 
 auto eth0
 iface eth0 inet dhcp
-hostname $(hostname)
+hostname \$(hostname)
 EOF
 
     # set the hostname