Unverified Commit ff69eaad by 2xsec Committed by Christian Brauner

fix post section script error for rpm install

Signed-off-by: 's avatar2xsec <dh48.jeong@samsung.com>
parent 6fc19f8a
......@@ -152,6 +152,11 @@ fi
%post
# This test should trigger a network configure on a new install.
if [ ! -d @LXC_DISTRO_SYSCONF@ ]
then
mkdir -p @LXC_DISTRO_SYSCONF@
fi
if [ ! -f @LXC_DISTRO_SYSCONF@/lxc-net ] || ! grep -q 'USE_LXC_BRIDGE=' @LXC_DISTRO_SYSCONF@/lxc-net
then
# Grab a random 10net subnet. Need to add test logic...
......
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