/[sysadmin-cookbook]/recepies/lxc/lxc-watchdog.sh
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/lxc-watchdog.sh

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 227 - (view) (annotate) - [select for diffs]
Modified Tue Sep 7 16:02:12 2010 UTC (13 years, 6 months ago) by dpavlin
File length: 5131 byte(s)
Diff to previous 226 , to selected 190
don't try to start containers without rootfs mounted


Revision 226 - (view) (annotate) - [select for diffs]
Modified Tue Aug 10 17:03:15 2010 UTC (13 years, 7 months ago) by dpavlin
File length: 4998 byte(s)
Diff to previous 218 , to selected 190
overwrite /etc/hostname from name of lxc

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


Revision 218 - (view) (annotate) - [select for diffs]
Modified Mon Jun 14 12:13:14 2010 UTC (13 years, 9 months ago) by root
File length: 4965 byte(s)
Diff to previous 216 , to selected 190
remove udev startup from container


Revision 216 - (view) (annotate) - [select for diffs]
Modified Wed May 26 10:19:05 2010 UTC (13 years, 10 months ago) by dpavlin
File length: 4936 byte(s)
Diff to previous 196 , to selected 190
show ip and hostname in status


Revision 196 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 19:06:42 2010 UTC (14 years ago) by dpavlin
File length: 4786 byte(s)
Diff to previous 195 , to selected 190
use column to display nice tabular output from status


Revision 195 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 19:03:16 2010 UTC (14 years ago) by dpavlin
File length: 4773 byte(s)
Diff to previous 194 , to selected 190
lxc-ls displays random files in /var/lib/lxc/ and duplicates so don't use it


Revision 194 - (view) (annotate) - [select for diffs]
Modified Mon Mar 22 21:48:27 2010 UTC (14 years ago) by dpavlin
File length: 4735 byte(s)
Diff to previous 193 , to selected 190
extract correct lxc.rootfs


Revision 193 - (view) (annotate) - [select for diffs]
Modified Fri Mar 19 14:11:49 2010 UTC (14 years ago) by dpavlin
File length: 4726 byte(s)
Diff to previous 190
ensure that we have getty on tty1

Revision 190 - (view) (annotate) - [selected]
Modified Tue Mar 16 23:14:38 2010 UTC (14 years ago) by root
File length: 4628 byte(s)
Diff to previous 189
better usage, install as init script docs


Revision 189 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 23:05:31 2010 UTC (14 years ago) by dpavlin
File length: 4411 byte(s)
Diff to previous 188 , to selected 190
better output

Revision 188 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 22:00:20 2010 UTC (14 years ago) by dpavlin
File length: 4246 byte(s)
Diff to previous 187 , to selected 190
added boot and disable

Revision 187 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 21:36:45 2010 UTC (14 years ago) by dpavlin
File length: 4152 byte(s)
Diff to previous 186 , to selected 190
timestap watchdog output


Revision 186 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 20:53:59 2010 UTC (14 years ago) by dpavlin
File length: 4117 byte(s)
Diff to previous 185 , to selected 190
give container 5 seconds to start more than one process

Revision 185 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 20:51:46 2010 UTC (14 years ago) by dpavlin
File length: 4048 byte(s)
Diff to previous 184 , to selected 190
create on_boot only if it doesn't exist

Revision 184 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 20:42:38 2010 UTC (14 years ago) by dpavlin
File length: 4008 byte(s)
Diff to previous 183 , to selected 190
added proper LSB init.d headers


Revision 183 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 19:59:41 2010 UTC (14 years ago) by dpavlin
File length: 3671 byte(s)
Diff to previous 182 , to selected 190
real host reboot, status now include rootfs and on_boot


Revision 182 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 17:46:32 2010 UTC (14 years ago) by dpavlin
File length: 2897 byte(s)
Diff to previous 181 , to selected 190
move inotify so watchdog can stop lxc in init state 0


Revision 181 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 17:39:28 2010 UTC (14 years ago) by dpavlin
File length: 2896 byte(s)
Diff to previous 180 , to selected 190
rewrite into init-like script with start/stop/status name


Revision 180 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 16:18:40 2010 UTC (14 years ago) by dpavlin
File length: 1946 byte(s)
Diff to previous 179 , to selected 190
use lxc-ps to find container's init

Revision 179 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 15:33:30 2010 UTC (14 years ago) by dpavlin
File length: 1919 byte(s)
Diff to previous 178 , to selected 190
add powerfail to container's /etc/inittab which halt on kill -SIGPWR


Revision 178 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 15:06:30 2010 UTC (14 years ago) by dpavlin
File length: 1482 byte(s)
Diff to previous 177 , to selected 190
cleanup init scripts which are not needed inside containers


Revision 177 - (view) (annotate) - [select for diffs]
Modified Tue Mar 16 14:52:56 2010 UTC (14 years ago) by dpavlin
File length: 1236 byte(s)
Diff to previous 175 , to selected 190
make container name first argument


Revision 175 - (view) (annotate) - [select for diffs]
Added Mon Mar 15 23:08:31 2010 UTC (14 years ago) by root
File length: 1159 byte(s)
Diff to selected 190
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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26