/[sysadmin-cookbook]/recepies/lxc/lxc-watchdog.sh |
Parent Directory | Revision Log
Links to HEAD: | (view) (annotate) |
Sticky Revision: |
correct sulogin counting
remote device rw on start
remount rootfs before start to fix debian upgrades
remote checkfs.sh from squeeze
fix console condition, restart now works
use only first ip address
remote checkroot.sh used by squeeze
cleanup ip address and insert it into /etc/hosts inside container
extract lxc_hostname and lxc_ip into functions
fix ip address display
extract ip from config file
don't try to start containers without rootfs mounted
overwrite /etc/hostname from name of lxc This allows us to make clones with different name right after boot
remove udev startup from container
show ip and hostname in status
use column to display nice tabular output from status
lxc-ls displays random files in /var/lib/lxc/ and duplicates so don't use it
extract correct lxc.rootfs
ensure that we have getty on tty1
better usage, install as init script docs
better output
added boot and disable
timestap watchdog output
give container 5 seconds to start more than one process
create on_boot only if it doesn't exist
added proper LSB init.d headers
real host reboot, status now include rootfs and on_boot
move inotify so watchdog can stop lxc in init state 0
rewrite into init-like script with start/stop/status name
use lxc-ps to find container's init
add powerfail to container's /etc/inittab which halt on kill -SIGPWR
cleanup init scripts which are not needed inside containers
make container name first argument
Start container and stop/start on reboot/halt
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.26 |