]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix hostname in interface config for apline template 1022/head
authorAndrey Kostin <andrey@kostin.email>
Wed, 11 May 2016 20:32:40 +0000 (23:32 +0300)
committerAndrey Kostin <andrey@kostin.email>
Wed, 11 May 2016 20:32:40 +0000 (23:32 +0300)
Signed-off-by: Andrey Kostin <andrey@kostin.email>
templates/lxc-alpine.in

index bc4eee4ded20ac39c60fb803fd063ad7215f426a..c78795cb0d19873b35acdd975de30066da439867 100644 (file)
@@ -346,7 +346,7 @@ setup_network() {
        cat <<-EOF > etc/network/interfaces
                auto eth0
                iface eth0 inet dhcp
-               hostname $(hostname)
+               hostname \$(hostname)
        EOF
 }