Commit 989e861d by Serge Hallyn Committed by Daniel Lezcano

lxc-clone.in: put $line in quotes to avoid its expansion

parent e99ee0de
......@@ -271,7 +271,7 @@ while read line; do
if [ "${line:0:18}" = "lxc.network.hwaddr" ]; then
echo "lxc.network.hwaddr= 00:16:3e:$(openssl rand -hex 3| sed 's/\(..\)/\1:/g; s/.$//')"
else
echo $line
echo "$line"
fi
done
) < ${c}.old > ${c}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment