Unverified Commit 3b159041 by 2xsec

fix post section script error for rpm install

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