/[sysadmin-cookbook]/recepies/lxc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /recepies/lxc

View Directory Listing Directory Listing


Sticky Revision:

Revision 301 - Directory Listing
Modified Tue Apr 9 19:49:31 2013 UTC (6 years, 1 month ago) by dpavlin
use system configured cgroup mount point

Revision 297 - Directory Listing
Modified Mon Jun 25 12:18:30 2012 UTC (6 years, 10 months ago) by dpavlin
install wheezy

Revision 284 - Directory Listing
Modified Tue Dec 13 12:54:24 2011 UTC (7 years, 5 months ago) by dpavlin
fix lxc-ps usage with -C arg for lxc 0.7.5

Reported by Gordon Henderson <gordon(at)drogon.net>


Revision 272 - Directory Listing
Modified Fri Sep 9 18:27:11 2011 UTC (7 years, 8 months ago) by dpavlin
fallback for lxc-info 0.7.2

Revision 271 - Directory Listing
Modified Fri Sep 9 18:21:14 2011 UTC (7 years, 8 months ago) by dpavlin
use new lxc-info 0.7.5 output for status

Revision 264 - Directory Listing
Modified Sun Jun 26 15:00:40 2011 UTC (7 years, 10 months ago) by root
recent Debian has /var/run as symlink


Revision 262 - Directory Listing
Modified Sun May 15 00:08:10 2011 UTC (8 years ago) by dpavlin
create containers for blkio disk speed test

Revision 261 - Directory Listing
Modified Sun May 15 00:04:01 2011 UTC (8 years ago) by dpavlin
include all options for blkio cgroup

Revision 260 - Directory Listing
Modified Sat May 14 20:07:00 2011 UTC (8 years ago) by dpavlin
added missing file

Revision 259 - Directory Listing
Modified Sat May 14 20:03:06 2011 UTC (8 years ago) by dpavlin
start kvm with two ethernets

Revision 258 - Directory Listing
Modified Sat May 14 19:53:44 2011 UTC (8 years ago) by dpavlin
add tap interface to host lapop

Revision 257 - Directory Listing
Modified Sat May 14 19:48:20 2011 UTC (8 years ago) by dpavlin
use apt-cacher-ng if installed

Revision 256 - Directory Listing
Modified Sat May 14 15:46:26 2011 UTC (8 years ago) by dpavlin
install all required packages inside container automatically

Revision 255 - Directory Listing
Modified Sat May 14 15:28:41 2011 UTC (8 years ago) by dpavlin
patch kernel with lxc patches

Revision 254 - Directory Listing
Modified Sat May 14 15:25:11 2011 UTC (8 years ago) by dpavlin
install libc6-amd64 so that busybox container start works

Revision 253 - Directory Listing
Modified Fri May 13 20:06:14 2011 UTC (8 years ago) by dpavlin
boot kvm

Revision 252 - Directory Listing
Modified Fri May 13 19:58:32 2011 UTC (8 years ago) by dpavlin
build kvm kernel

Revision 251 - Directory Listing
Modified Fri May 13 19:55:42 2011 UTC (8 years ago) by dpavlin
rename file to be in sync with step 1 in docs

Revision 250 - Directory Listing
Modified Fri May 13 19:48:28 2011 UTC (8 years ago) by dpavlin
chown image file and require sudo to run

Revision 249 - Directory Listing
Modified Fri May 13 19:41:08 2011 UTC (8 years ago) by dpavlin
install required packages

Revision 248 - Directory Listing
Modified Fri May 13 19:33:24 2011 UTC (8 years ago) by dpavlin
create kvm rootfs

Revision 247 - Directory Listing
Modified Fri May 13 19:32:53 2011 UTC (8 years ago) by dpavlin
Begin following http://www.landley.net/lxc/


Revision 246 - Directory Listing
Modified Sat May 7 12:35:18 2011 UTC (8 years ago) by dpavlin
install debootstrap

Revision 245 - Directory Listing
Modified Tue Mar 29 18:02:44 2011 UTC (8 years, 1 month ago) by dpavlin
correct sulogin counting

Revision 244 - Directory Listing
Modified Tue Mar 29 18:00:40 2011 UTC (8 years, 1 month ago) by dpavlin
remote device rw on start

Revision 243 - Directory Listing
Modified Thu Mar 24 16:40:46 2011 UTC (8 years, 1 month ago) by dpavlin
remount rootfs before start to fix debian upgrades

Revision 237 - Directory Listing
Modified Wed Jan 26 18:56:17 2011 UTC (8 years, 3 months ago) by dpavlin
remote checkfs.sh from squeeze

Revision 236 - Directory Listing
Modified Wed Jan 26 12:16:23 2011 UTC (8 years, 3 months ago) by dpavlin
fix console condition, restart now works

Revision 235 - Directory Listing
Modified Tue Jan 25 14:40:42 2011 UTC (8 years, 3 months ago) by dpavlin
use only first ip address

Revision 234 - Directory Listing
Modified Sat Jan 22 16:07:46 2011 UTC (8 years, 3 months ago) by dpavlin
remote checkroot.sh used by squeeze

Revision 233 - Directory Listing
Modified Sun Oct 24 12:23:20 2010 UTC (8 years, 6 months ago) by dpavlin
cleanup ip address and insert it into /etc/hosts inside container


Revision 232 - Directory Listing
Modified Sun Oct 24 11:55:02 2010 UTC (8 years, 6 months ago) by dpavlin
extract lxc_hostname and lxc_ip into functions

Revision 229 - Directory Listing
Modified Sat Sep 11 12:19:12 2010 UTC (8 years, 8 months ago) by dpavlin
fix ip address display

Revision 228 - Directory Listing
Modified Sat Sep 11 11:51:37 2010 UTC (8 years, 8 months ago) by dpavlin
extract ip from config file

Revision 227 - Directory Listing
Modified Tue Sep 7 16:02:12 2010 UTC (8 years, 8 months ago) by dpavlin
don't try to start containers without rootfs mounted


Revision 226 - Directory Listing
Modified Tue Aug 10 17:03:15 2010 UTC (8 years, 9 months ago) by dpavlin
overwrite /etc/hostname from name of lxc

This allows us to make clones with different name right after boot


Revision 218 - Directory Listing
Modified Mon Jun 14 12:13:14 2010 UTC (8 years, 11 months ago) by root
remove udev startup from container


Revision 216 - Directory Listing
Modified Wed May 26 10:19:05 2010 UTC (8 years, 11 months ago) by dpavlin
show ip and hostname in status


Revision 206 - Directory Listing
Modified Mon May 10 12:50:50 2010 UTC (9 years ago) by dpavlin
remove function which is bashisam (and thus we work under dash as /bin/sh)


Revision 201 - Directory Listing
Modified Tue Apr 27 08:21:22 2010 UTC (9 years ago) by dpavlin
make executable

Revision 200 - Directory Listing
Modified Tue Apr 27 08:20:25 2010 UTC (9 years ago) by dpavlin
install our lxc-debian


Revision 196 - Directory Listing
Modified Wed Mar 24 19:06:42 2010 UTC (9 years, 1 month ago) by dpavlin
use column to display nice tabular output from status


Revision 195 - Directory Listing
Modified Wed Mar 24 19:03:16 2010 UTC (9 years, 1 month ago) by dpavlin
lxc-ls displays random files in /var/lib/lxc/ and duplicates so don't use it


Revision 194 - Directory Listing
Modified Mon Mar 22 21:48:27 2010 UTC (9 years, 1 month ago) by dpavlin
extract correct lxc.rootfs


Revision 193 - Directory Listing
Modified Fri Mar 19 14:11:49 2010 UTC (9 years, 2 months ago) by dpavlin
ensure that we have getty on tty1

Revision 192 - Directory Listing
Modified Fri Mar 19 14:02:14 2010 UTC (9 years, 2 months ago) by dpavlin
examples for lxc.network.hwaddr, lxc.network.veth.pair and lxc.mount.entry

Revision 190 - Directory Listing
Modified Tue Mar 16 23:14:38 2010 UTC (9 years, 2 months ago) by root
better usage, install as init script docs


Revision 189 - Directory Listing
Modified Tue Mar 16 23:05:31 2010 UTC (9 years, 2 months ago) by dpavlin
better output

Revision 188 - Directory Listing
Modified Tue Mar 16 22:00:20 2010 UTC (9 years, 2 months ago) by dpavlin
added boot and disable

Revision 187 - Directory Listing
Modified Tue Mar 16 21:36:45 2010 UTC (9 years, 2 months ago) by dpavlin
timestap watchdog output


Revision 186 - Directory Listing
Modified Tue Mar 16 20:53:59 2010 UTC (9 years, 2 months ago) by dpavlin
give container 5 seconds to start more than one process

Revision 185 - Directory Listing
Modified Tue Mar 16 20:51:46 2010 UTC (9 years, 2 months ago) by dpavlin
create on_boot only if it doesn't exist

Revision 184 - Directory Listing
Modified Tue Mar 16 20:42:38 2010 UTC (9 years, 2 months ago) by dpavlin
added proper LSB init.d headers


Revision 183 - Directory Listing
Modified Tue Mar 16 19:59:41 2010 UTC (9 years, 2 months ago) by dpavlin
real host reboot, status now include rootfs and on_boot


Revision 182 - Directory Listing
Modified Tue Mar 16 17:46:32 2010 UTC (9 years, 2 months ago) by dpavlin
move inotify so watchdog can stop lxc in init state 0


Revision 181 - Directory Listing
Modified Tue Mar 16 17:39:28 2010 UTC (9 years, 2 months ago) by dpavlin
rewrite into init-like script with start/stop/status name


Revision 180 - Directory Listing
Modified Tue Mar 16 16:18:40 2010 UTC (9 years, 2 months ago) by dpavlin
use lxc-ps to find container's init

Revision 179 - Directory Listing
Modified Tue Mar 16 15:33:30 2010 UTC (9 years, 2 months ago) by dpavlin
add powerfail to container's /etc/inittab which halt on kill -SIGPWR


Revision 178 - Directory Listing
Modified Tue Mar 16 15:06:30 2010 UTC (9 years, 2 months ago) by dpavlin
cleanup init scripts which are not needed inside containers


Revision 177 - Directory Listing
Modified Tue Mar 16 14:52:56 2010 UTC (9 years, 2 months ago) by dpavlin
make container name first argument


Revision 176 - Directory Listing
Modified Mon Mar 15 23:09:38 2010 UTC (9 years, 2 months ago) by dpavlin
added --arch to force arhitecture to bootstrap


Revision 175 - Directory Listing
Modified Mon Mar 15 23:08:31 2010 UTC (9 years, 2 months ago) by root
Start container and stop/start on reboot/halt


Revision 174 - Directory Listing
Modified Sat Mar 13 13:21:48 2010 UTC (9 years, 2 months ago) by dpavlin
zcat /usr/share/doc/lxc/examples/lxc-debian.gz > lxc-debian

Revision 151 - Directory Listing
Modified Wed Oct 21 12:06:10 2009 UTC (9 years, 6 months ago) by dpavlin
configurable hostname as optional third param


Revision 112 - Directory Listing
Modified Mon Jun 15 20:22:52 2009 UTC (9 years, 11 months ago) by dpavlin
added IP and ve2lxc hostname to /etc/hosts


Revision 111 - Directory Listing
Modified Mon Jun 15 20:22:04 2009 UTC (9 years, 11 months ago) by dpavlin
added gateway to lxc's /etc/network/interfaces


Revision 110 - Directory Listing
Modified Mon Jun 15 19:19:03 2009 UTC (9 years, 11 months ago) by dpavlin
copy /etc/resolv.conf from host system


Revision 93 - Directory Listing
Modified Thu May 21 15:55:27 2009 UTC (10 years ago) by dpavlin
put template lxc configuration inside script itself
change /etc/hostname


Revision 92 - Directory Listing
Modified Thu May 21 15:46:59 2009 UTC (10 years ago) by dpavlin
configure /etc/network/interfaces in new lxc container


Revision 86 - Directory Listing
Modified Sun May 17 20:54:48 2009 UTC (10 years ago) by dpavlin
convert OpenVZ container to LXC


Revision 85 - Directory Listing
Modified Sun May 17 18:39:48 2009 UTC (10 years ago) by dpavlin
we also need bridge-utils for networking


Revision 68 - Directory Listing
Modified Thu May 14 09:48:02 2009 UTC (10 years ago) by dpavlin
configure bridge in /etc/network/interfaces (the Debian way)


Revision 67 - Directory Listing
Modified Thu May 14 09:47:23 2009 UTC (10 years ago) by dpavlin
moved bridge creation recepie to shell script


Revision 66 - Directory Listing
Modified Wed May 13 18:45:14 2009 UTC (10 years ago) by dpavlin
show configured bridge

Revision 64 - Directory Listing
Modified Wed May 13 16:41:53 2009 UTC (10 years ago) by dpavlin
append ttys to /etc/inittab


Revision 62 - Directory Listing
Modified Tue May 12 23:13:59 2009 UTC (10 years ago) by dpavlin
fale-safe ttys needed by lxc, but not available on openvz containers


Revision 61 - Directory Listing
Modified Tue May 12 23:13:01 2009 UTC (10 years ago) by dpavlin
add eth0 to bridge


Revision 58 - Directory Listing
Added Tue May 12 16:06:44 2009 UTC (10 years ago) by dpavlin
Linux Containers are now part of standard 2.6.29 Debian kernel


  ViewVC Help
Powered by ViewVC 1.1.26