Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
devrandom | 684f6c9427 | 12 years ago |
@ -1,4 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if ifconfig lxcbr0 > /dev/null 2>&1; then
|
||||||
|
true
|
||||||
|
else
|
||||||
|
echo "Must configure lxcbr0 - check the README"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
wd=`pwd`
|
wd=`pwd`
|
||||||
sed "s;ROOTFS;$wd/target-$LXC_SUITE-$LXC_ARCH;;s;ARCH;$LXC_ARCH;g" < etc/lxc.config.in > var/lxc.config
|
sed "s;ROOTFS;$wd/target-$LXC_SUITE-$LXC_ARCH;;s;ARCH;$LXC_ARCH;g" < etc/lxc.config.in > var/lxc.config
|
||||||
|
Loading…
Reference in New Issue