You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config-lxc 295B

12345678910111213
  1. #!/bin/bash
  2. wd=`pwd`
  3. if [ -z "$LXC_GUEST_IP" ]; then
  4. LXC_GUEST_IP=10.0.2.5
  5. fi
  6. if [ -z "$LXC_BRIDGE" ]; then
  7. LXC_BRIDGE=br0
  8. fi
  9. sed "s;ROOTFS;$wd/target-$LXC_SUITE-$LXC_ARCH;;s;ARCH;$LXC_ARCH;g;;s;GUESTIP;$LXC_GUEST_IP;g;s;GUESTLINK;$LXC_BRIDGE;g" < etc/lxc.config.in > var/lxc.config