Searched refs:run (Results 1 - 16 of 16) sorted by relevance

/lxc/src/tests/
H A Dlxc-test-usernic.in37 sed -i '/usernic-user/d' /run/lxc/nics /etc/lxc/lxc-usernet
46 rm -rf /tmp/usernic-test /home/usernic-user /run/user/$(id -u usernic-user)
63 XDG_RUNTIME_DIR=/run/user/$(id -u usernic-user) $*
115 mkdir -p /run/user/$(id -u usernic-user)
116 chown -R usernic-user: /run/user/$(id -u usernic-user) /home/usernic-user
H A Dlxc-test-symlink30 run=$2
35 echo "Test $run: expected $expected but container did not. Start log:"
37 echo "FAIL: Test $run: expected $expected but container did not."
H A Dlxc-test-apparmor-mount41 XDG_RUNTIME_DIR=/run/user/$(id -u $TUSER) $*
54 sed -i '/lxcunpriv/d' /run/lxc/nics /etc/lxc/lxc-usernet
56 rm -Rf $HDIR /run/user/$(id -u $TUSER)
67 # Only run on a normally configured ubuntu lxc system
73 echo "ERROR: Must run as root."
77 # This would be much simpler if we could run it as
110 mkdir -p /run/user/$(id -u $TUSER)
111 chown -R $TUSER: /run/user/$(id -u $TUSER)
H A Dlxc-test-unpriv27 echo "ERROR: Must run as root."
76 sed -i '/lxcunpriv/d' /run/lxc/nics /etc/lxc/lxc-usernet
79 rm -Rf $HDIR /run/user/$(id -u $TUSER)
93 XDG_RUNTIME_DIR=/run/user/$(id -u $TUSER) $*
126 mkdir -p /run/user/$(id -u $TUSER)
127 chown -R $TUSER: /run/user/$(id -u $TUSER)
183 [ "$p1" != "-1" ] || { echo "Failed to start container c1 (run $count)"; false; }
/lxc/templates/
H A Dlxc-sshd.in48 $rootfs/run/sshd \
65 ln -s /run $rootfs/var/run
136 # When using LXC with apparmor, uncomment the next line to run unconfined:
144 lxc.mount.entry = tmpfs run/sshd tmpfs mode=0644 0 0
164 # if no .ipv4 section in config, then have the container run dhcp
165 grep -q "^lxc.network.ipv4" $path/config || touch $rootfs/run-dhcp
215 echo "This script should be run as 'root'"
226 # run dhcp?
227 if [ -f /run
[all...]
H A Dlxc-fedora.in423 # run time environment which has all the pieces to run rpm and yum and
434 # given architecture. Note that this only has to run once for
514 # have another Fedora cache directory from which we could run...
547 BOOTSTRAP_INSTALL_ROOT=/run/install
651 # Setup stage1 image with pieces to run installs...
659 mkdir run/install
688 # run yum and rpm and that the stage2 rpm database is coherent.
699 mount -o bind ../bootstrap run/install
703 chroot . rpm --root /run/instal
[all...]
H A Dlxc-centos.in288 rm -f /var/run/*.pid
301 rm -f /etc/mtab /var/run/*.{pid,lock} /var/lock/subsys/*
454 # create symlink for /var/run -> ../run
456 mv $INSTALL_ROOT/var/run/* $INSTALL_ROOT/run/
457 rmdir $INSTALL_ROOT/var/run
458 ln -sf ../run $INSTALL_ROOT/var/run
633 # When using LXC with apparmor, uncomment the next line to run unconfine
[all...]
H A Dlxc-archlinux.in101 mkdir /run/lock
121 ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
263 echo "This script should be run as 'root'"
H A Dlxc-slackware.in131 none /run tmpfs defaults,mode=0755 0 0
196 if [ -x /etc/rc.d/rc.acpid -a -r /var/run/acpid.pid ]; then # quit
343 rm -f /var/run/* /var/run/*/* /var/run/*/*/* /etc/nologin \
353 # If there are SystemV init scripts for this runlevel, run them.
731 echo "This script should be run as 'root'."
H A Dlxc-plamo.in181 echo "DHCP" > $rootfs/var/run/inet1-scheme
211 INET1SCHEME=var/run/inet1-scheme
341 echo "This script should be run as 'root'."
H A Dlxc-opensuse.in226 # ensure /var/run and /run are symlinked
227 rm -fr $cache/partial-$arch/var/run
228 ln -s -f ../run $cache/partial-$arch/var/run
353 # When using LXC with apparmor, uncomment the next line to run unconfined:
492 echo "This script should be run as 'root'"
H A Dlxc-alpine.in306 #!/sbin/openrc-run
404 die 1 "This script must be run as 'root'"
505 To start the container, run "lxc-start -n $name".
506 The root password is not set; to enter the container run "lxc-attach -n $name".
H A Dlxc-openmandriva.in237 # When using LXC with apparmor, uncomment the next line to run unconfined:
423 echo "This script should be run as 'root'"
H A Dlxc-ubuntu-cloud.in116 # rmdir /dev/shm for containers that have /run/shm
118 # get bind mounted to the host's /run/shm. So try to rmdir
123 ln -s /run/shm $rootfs/dev/shm
259 echo "This script should be run as 'root'"
H A Dlxc-debian.in619 echo "This script should be run as 'root'"
H A Dlxc-ubuntu.in618 # rmdir /dev/shm for containers that have /run/shm
620 # get bind mounted to the host's /run/shm. So try to rmdir
625 ln -s /run/shm $rootfs/dev/shm
804 echo "This script should be run as 'root'"
852 echo "# Use the 'sudo' command to run tasks as root in the container."

Completed in 17 milliseconds