| /lxc/hooks/ |
| H A D | clonehostname | 3 # Update the hostname in the cloned container's scripts 11 # This program is distributed in the hope that it will be useful, 21 for file in \
|
| /lxc/src/python-lxc/ |
| H A D | setup.py.in | 15 # This library is distributed in the hope that it will be useful, 28 for var in ("LDFLAGS", "CFLAGS"): 34 for flag in current.split(" "): 35 if flag.lower() in ("-pie", "-fpie"): 36 if "-fPIC" not in new: 46 # up in the directory tree: it tries to navigate outside of the build dir and
|
| /lxc/config/init/common/ |
| H A D | lxc-containers.in | 8 # These can be overridden in @LXC_DISTRO_SYSCONF@/lxc 21 # Container shutdown can result in lengthy system 64 for try in `seq 1 30`; do 65 for br in ${BRNAME}; do 75 case "$1" in
|
| /lxc/src/tests/ |
| H A D | lxc-test-snapdeps | 19 # This library is distributed in the hope that it will be useful, 38 for i in `seq 1 20`; do 63 for i in `seq 2 20`; do 77 for i in `seq 2 19`; do
|
| H A D | lxc-test-ubuntu | 17 # This library is distributed in the hope that it will be useful, 44 for template in ubuntu ubuntu-cloud; do 57 for tries in `seq 1 20`; do 62 [ -n "$lxcip" ] || FAIL "to start networking in $template container"
|
| H A D | lxc-test-autostart | 15 # This library is distributed in the hope that it will be useful, 53 for r in $rels; do 62 # Ensure it's not in lxc-autostart 71 # Put it in a test group and set a delay
|
| H A D | lxc-test-unpriv | 15 # This library is distributed in the hope that it will be useful, 136 for d in $(cut -d : -f 2 /proc/self/cgroup); do 150 for d in /sys/fs/cgroup/*; do 164 for r in $rels; do 179 for count in `seq 1 2`; do
|
| H A D | lxc-test-usernic.in | 15 # This library is distributed in the hope that it will be useful, 93 for d in $(cut -d : -f 2 /proc/self/cgroup); do 107 for d in /sys/fs/cgroup/*; do 142 for r in $rels; do
|
| H A D | lxc-test-apparmor-mount | 3 # apparmor_mount: test proper handling of apparmor in kernels 13 # This library is distributed in the hope that it will be useful, 78 # root. However, in order to not have the bind mount 120 for d in $(cut -d : -f 2 /proc/self/cgroup); do 134 for d in /sys/fs/cgroup/*; do 154 for r in $rels; do 167 echo "FAIL: confined container was in profile $profile" 179 echo "FAIL: unconfined container was in profile $profile" 209 echo "FAIL: confined container was in profile $profile" 226 echo "FAIL: confined container was in profil [all...] |
| /lxc/config/init/sysvinit/ |
| H A D | lxc-containers.in | 42 case "$1" in
|
| H A D | lxc-net.in | 41 case "$1" in
|
| /lxc/src/lua-lxc/test/ |
| H A D | apitest.lua | 14 -- This program is distributed in the hope that it will be useful, 70 for _,v in ipairs(cfg_containers) do 76 for _,v in ipairs(run_containers) do 94 -- create a config file in the new location from container's config 265 for _,v in ipairs(mntents) do 275 for k,v in pairs(keys) do 288 for k,v in pairs(netcfg) do
|
| /lxc/src/lxc/tools/ |
| H A D | lxc-start-ephemeral.in | 5 # This python implementation is based on the work done in the original 6 # shell implementation done by Serge Hallyn in Ubuntu (and other contributors) 18 # This library is distributed in the hope that it will be useful, 44 print("lxc-start-ephemeral is deprecated in favor of lxc-copy\n", 62 if "XDG_RUNTIME_DIR" in os.environ: 65 if "HOME" in os.environ: 111 help=_("run in the background")) 126 help=_("Run specific command in container " 174 for nic in dest.network: 185 for line in orig_f [all...] |
| H A D | lxc-top.lua | 14 -- This program is distributed in the hope that it will be useful, 101 for line in f:lines() do 137 for _,v in ipairs(now_running) do 161 for _,ctname in ipairs(containers) do 196 " -d|--delay delay in seconds between refreshes (default: 3.0)\n" .. 203 " -r|--reverse sort in reverse (descending) order\n" 233 for index,ctname in ipairs(containers) do
|
| /lxc/templates/ |
| H A D | lxc-cirros.in | 15 # This program is distributed in the hope that it will be useful, 25 # Make sure the usual locations are in PATH 43 case "${UNAME_M}" in 72 for x in "$@"; do 106 for arg in "$@"; do 194 case "$dstype" in 254 case "$cur" in 281 case "$arch" in
|
| H A D | lxc-archlinux.in | 19 # This library is distributed in the hope that it will be useful, 29 for arg in "$@"; do 38 # Make sure the usual locations are in PATH 52 for pkg in $(pacman -Sqg base); do 131 for i in $(seq 1 $nttys); do ln -sf "../getty@.service" "getty@${devtty}tty${i}.service"; done ) 135 for i in $(seq 1 ${nttys:-1}); do 231 case "${1}" in 311 for unit in ${result[@]}; do 320 for unit in ${result[@]}; do 332 stored in [all...] |
| H A D | lxc-busybox.in | 14 # This library is distributed in the hope that it will be useful, 27 # Make sure the usual locations are in PATH 102 for dev in tty console tty0 tty1 ram0 null urandom; do 152 case "\$1" in 176 for i in \$dns ; do 247 for bin in $server_utils $client_utils; do 251 for bin in $client_optional_utils; do 307 # copy busybox in the rootfs 310 echo "failed to copy busybox in the rootfs" 316 # but that only works right in [all...] |
| H A D | lxc-plamo.in | 19 # This library is distributed in the hope that it will be useful, 32 for arg in "$@"; do 41 # Make sure the usual locations are in PATH 64 case $DLSCHEME in http) depth=2 ;; ftp) depth=3 ;; esac 67 for p in ${IGNOREPKGS#* } ; do rej="$rej,$p-*" ; done 69 for i in $CATEGORIES ; do 79 for i in $EXTRACTGRS ; do 89 for p in $ADDONPKGS ; do 119 echo "Checking cache download in $dlcache..." 136 for p in `l [all...] |
| H A D | lxc-debian.in | 14 # This library is distributed in the hope that it will be useful, 24 for arg in "$@"; do 33 # Make sure the usual locations are in PATH 52 for tty in $(seq 1 "$num_tty"); do 69 # Normally not reached, but fallthrough in case of emergency. 72 $(for tty in $(seq 1 "$num_tty"); do echo "c${tty}:12345:respawn:/sbin/getty 38400 tty${tty} linux" ; done;) 81 # disable selinux in debian 119 # remove pointless services in a container 158 echo "Timezone in container is not configured. Adjust it manually." 218 # just in cas [all...] |
| H A D | lxc-alpine.in | 21 # This library is distributed in the hope that it will be useful, 33 # Make sure the usual locations are in PATH 77 -d, --debug Run this script in a debug mode (set -x and wget w/o -q). 123 case "$1" in 204 [ -n "$pkg_ver" ] || die 2 "Cannot find a version of $pkg_name in APKINDEX" 242 einfo "Installing Alpine Linux in $dest" 257 || die 3 'Failed to execute /bin/true in chroot, the builded rootfs is broken!' 280 local i; for i in $(seq 0 4); do 357 for svc_name in bootmisc hosts syslog; do 362 for svc_name in networkin [all...] |
| H A D | lxc-download.in | 12 # This library is distributed in the hope that it will be useful, 65 # Make sure the usual locations are in PATH 76 for i in $(seq 3); do 134 for i in $(seq 3); do 238 case "$1" in 261 for bin in tar xz wget; do 577 # Replace variables in all templates 578 for file in $TEMPLATE_FILES; do
|
| H A D | lxc-opensuse.in | 21 # This library is distributed in the hope that it will be useful, 31 for arg in "$@"; do 40 # Make sure the usual locations are in PATH 82 # disable yast->bootloader in container 100 # remove pointless services in a container 149 zypper --root $cache/partial-$arch-packages --non-interactive in --auto-agree-with-licenses --download-only zypper lxc patterns-openSUSE-base bash iputils sed tar rsyslog || return 1 180 # dhcpcd is not in the default repos since Leap 42.1 194 for i in "$cache/partial-$arch-packages/var/cache/zypp/packages/repo-oss/suse/i586/*" ; do 198 for i in "$cache/partial-$arch-packages/var/cache/zypp/packages/update/i586/*" ; do 203 # openSUSE 13.2 has no noarch directory in updat [all...] |
| H A D | lxc-sparclinux.in | 24 # This library is distributed in the hope that it will be useful, 35 for arg in "$@"; do 44 # Make sure the usual locations are in PATH 77 # yum update on certain packages is done. we do this here instead of in 78 # container_rootfs_configure() in case the patching done in this function 79 # is updated in the future, we can inject the updated version of ourself 93 # "disable" selinux in the guest. The policy in the container isn't 125 # silence error in checkin [all...] |
| H A D | lxc-altlinux.in | 18 # This library is distributed in the hope that it will be useful, 28 for arg in "$@"; do 37 # Make sure the usual locations are in PATH 55 # disable selinux in altlinux 103 # Allow to login at virsh console. loginuid.so doen't work in the absence of auditd. 111 for service in network syslogd random NetworkManager 118 for service in rawdevices fbsetfont 235 echo "Checking cache download in $cache/rootfs ... " 370 -p,--path path to where the container rootfs will be created, defaults to @LXCPATH@. The container config will go under @LXCPATH@ in that case 378 -P,--profile Profile name is the file name in /et [all...] |
| /lxc/src/lua-lxc/ |
| H A D | lxc.lua | 14 -- This library is distributed in the hope that it will be useful, 193 for _,v in ipairs(vals) do 222 for _,v in ipairs(keys) do 263 for k,c in ipairs(coords) do 267 for line in flines:gmatch("[^\r\n]+") do 270 for k,c in ipairs(coords) do 297 for line in lines:gmatch("[^\r\n]+") do 352 -- return configured containers found in LXC_PATH directory 356 for dir in lfs.dir(lxc_path) do 380 -- return running containers found in cgrou [all...] |