mclu.git
9 years agomclu list: Ignore libguestfs temporary guestfs-* when displaying active guests.
Richard W.M. Jones [Sat, 4 Apr 2015 21:16:15 +0000 (22:16 +0100)]
mclu list: Ignore libguestfs temporary guestfs-* when displaying active guests.

9 years agodocs: Add description and examples.
Richard W.M. Jones [Sat, 4 Apr 2015 20:39:53 +0000 (21:39 +0100)]
docs: Add description and examples.

9 years agodocs: Add documentation for template files.
Richard W.M. Jones [Sat, 4 Apr 2015 19:35:33 +0000 (20:35 +0100)]
docs: Add documentation for template files.

9 years agomclu: boot: Allow template to specify a minimum disk size.
Richard W.M. Jones [Mon, 30 Mar 2015 12:40:43 +0000 (13:40 +0100)]
mclu: boot: Allow template to specify a minimum disk size.

9 years agomclu: boot: Fix quoting issues.
Richard W.M. Jones [Thu, 26 Mar 2015 15:47:58 +0000 (15:47 +0000)]
mclu: boot: Fix quoting issues.

Create a wrapper script that sets the variables and runs
the build script.

9 years agoSort template list before returning.
Richard W.M. Jones [Wed, 25 Mar 2015 17:41:41 +0000 (17:41 +0000)]
Sort template list before returning.

9 years agoEnsure Random.self_init() is called.
Richard W.M. Jones [Tue, 24 Mar 2015 21:34:17 +0000 (21:34 +0000)]
Ensure Random.self_init() is called.

Otherwise guests get the same MAC address because there is
insufficient randomness in the OCaml PRNG.

9 years agomclu boot: Add --size and --timezone options.
Richard W.M. Jones [Tue, 24 Mar 2015 17:28:03 +0000 (17:28 +0000)]
mclu boot: Add --size and --timezone options.

9 years agoparallel: Call _exit so that C and OCaml exit handlers don't run.
Richard W.M. Jones [Mon, 23 Mar 2015 22:24:37 +0000 (22:24 +0000)]
parallel: Call _exit so that C and OCaml exit handlers don't run.

9 years agoboot: Add --console and --viewer parameters.
Richard W.M. Jones [Mon, 23 Mar 2015 22:16:57 +0000 (22:16 +0000)]
boot: Add --console and --viewer parameters.

These allow the serial and/or graphical consoles to be opened
when creating a guest.

9 years agoviewer: Run virt-viewer in the background.
Richard W.M. Jones [Mon, 23 Mar 2015 22:16:34 +0000 (22:16 +0000)]
viewer: Run virt-viewer in the background.

9 years agoImplement 'mclu reboot' command for rebooting guests.
Richard W.M. Jones [Sat, 21 Mar 2015 23:06:50 +0000 (23:06 +0000)]
Implement 'mclu reboot' command for rebooting guests.

9 years agoImplement 'mclu viewer' command to open the graphical console.
Richard W.M. Jones [Sat, 21 Mar 2015 22:28:48 +0000 (22:28 +0000)]
Implement 'mclu viewer' command to open the graphical console.

9 years agoRefactor common code dealing with [host:]name.
Richard W.M. Jones [Sat, 21 Mar 2015 22:49:01 +0000 (22:49 +0000)]
Refactor common code dealing with [host:]name.

9 years agoImplement 'mclu destroy' command.
Richard W.M. Jones [Sat, 21 Mar 2015 22:28:48 +0000 (22:28 +0000)]
Implement 'mclu destroy' command.

9 years agomclu: console: Fix error message.
Richard W.M. Jones [Sat, 21 Mar 2015 22:28:22 +0000 (22:28 +0000)]
mclu: console: Fix error message.

This updates commit 925be79f3065e383cbc532ebd637652999a9671e.

9 years agotemplates: Use shell variables to pass parameters to 'build'.
Richard W.M. Jones [Sat, 21 Mar 2015 22:12:25 +0000 (22:12 +0000)]
templates: Use shell variables to pass parameters to 'build'.

Also allow the hostname of the guest to be set.

9 years agoImplement serial console (mclu console ..)
Richard W.M. Jones [Sat, 21 Mar 2015 22:02:15 +0000 (22:02 +0000)]
Implement serial console (mclu console ..)

9 years agomclu version 2
Richard W.M. Jones [Mon, 16 Mar 2015 13:58:17 +0000 (13:58 +0000)]
mclu version 2

9 years agoStart mclu version 2.
Richard W.M. Jones [Mon, 16 Mar 2015 13:46:38 +0000 (13:46 +0000)]
Start mclu version 2.

9 years agobuild/import: Add --no-start flag.
Richard W.M. Jones [Wed, 28 May 2014 11:20:08 +0000 (12:20 +0100)]
build/import: Add --no-start flag.

9 years agobuild/import: Fix --virtio parameters.
Richard W.M. Jones [Wed, 28 May 2014 11:14:54 +0000 (12:14 +0100)]
build/import: Fix --virtio parameters.

9 years agomclu list: Sort lists of guests when displaying them.
Richard W.M. Jones [Tue, 27 May 2014 21:41:42 +0000 (22:41 +0100)]
mclu list: Sort lists of guests when displaying them.

9 years agoReformat so columns line up in 'mclu list' output.
Richard W.M. Jones [Wed, 14 May 2014 20:35:44 +0000 (21:35 +0100)]
Reformat so columns line up in 'mclu list' output.

9 years agoFix error message.
Richard W.M. Jones [Mon, 12 May 2014 21:44:10 +0000 (22:44 +0100)]
Fix error message.

9 years agoStupid python without static typing and type inference.
Richard W.M. Jones [Mon, 12 May 2014 21:40:17 +0000 (22:40 +0100)]
Stupid python without static typing and type inference.

9 years agoFix typo in README.
Richard W.M. Jones [Mon, 12 May 2014 21:13:39 +0000 (22:13 +0100)]
Fix typo in README.

9 years agoREADME: Note that you can also issue ansible commands against the cluster.
Richard W.M. Jones [Mon, 12 May 2014 18:40:24 +0000 (19:40 +0100)]
README: Note that you can also issue ansible commands against the cluster.

9 years agoRewrite to use ansible.
Richard W.M. Jones [Mon, 12 May 2014 12:50:12 +0000 (13:50 +0100)]
Rewrite to use ansible.

9 years agoChange node power subcommands.
Richard W.M. Jones [Sat, 10 May 2014 14:48:42 +0000 (15:48 +0100)]
Change node power subcommands.

'mclu wake' -> 'mclu on'
'mclu shutdown' -> 'mclu off'

9 years agomclu: Add --viewer option to mclu start, to start virt-viewer.
Richard W.M. Jones [Sat, 10 May 2014 14:44:39 +0000 (15:44 +0100)]
mclu: Add --viewer option to mclu start, to start virt-viewer.

9 years agorun: No need to echo the command we are going to run.
Richard W.M. Jones [Sat, 10 May 2014 14:32:10 +0000 (15:32 +0100)]
run: No need to echo the command we are going to run.

9 years agomclu: Add import subcommand to import existing guests.
Richard W.M. Jones [Sat, 10 May 2014 12:36:55 +0000 (13:36 +0100)]
mclu: Add import subcommand to import existing guests.

9 years agomclu build: Print the node that we started the guest on.
Richard W.M. Jones [Sat, 10 May 2014 12:37:01 +0000 (13:37 +0100)]
mclu build: Print the node that we started the guest on.

9 years agoAdd 'mclu reboot' command.
Richard W.M. Jones [Fri, 9 May 2014 16:01:41 +0000 (17:01 +0100)]
Add 'mclu reboot' command.

9 years agostatus: Whitespace fixes.
Richard W.M. Jones [Fri, 9 May 2014 12:34:32 +0000 (13:34 +0100)]
status: Whitespace fixes.

9 years agoWhen building a guest, give it a fixed (but random) MAC address.
Richard W.M. Jones [Fri, 9 May 2014 12:34:00 +0000 (13:34 +0100)]
When building a guest, give it a fixed (but random) MAC address.

Otherwise libvirt generates a new random MAC address on
every guest restart.

9 years agobuild: Add 'make lint' rule and fix some problems found by pylint.
Richard W.M. Jones [Fri, 9 May 2014 11:48:31 +0000 (12:48 +0100)]
build: Add 'make lint' rule and fix some problems found by pylint.

9 years agoMove libvirt XML generation to separate module.
Richard W.M. Jones [Fri, 9 May 2014 11:40:17 +0000 (12:40 +0100)]
Move libvirt XML generation to separate module.

Code refactoring.

9 years agodocs: Add SELinux and other configuration tips.
Richard W.M. Jones [Fri, 9 May 2014 11:33:33 +0000 (12:33 +0100)]
docs: Add SELinux and other configuration tips.

9 years agoMove configuration documentation to separate file, and expand.
Richard W.M. Jones [Fri, 9 May 2014 09:07:08 +0000 (10:07 +0100)]
Move configuration documentation to separate file, and expand.

9 years agoFix mclu spec builds.
Richard W.M. Jones [Thu, 8 May 2014 22:14:48 +0000 (23:14 +0100)]
Fix mclu spec builds.

You can now build an RPM by doing:

  make
  make dist
  rpmbuild -ta mclu-VERSION.tar.gz

9 years agomclu.spec: Set git URL and source URL.
Richard W.M. Jones [Thu, 8 May 2014 22:10:18 +0000 (23:10 +0100)]
mclu.spec: Set git URL and source URL.

9 years agomclu initial commit.
Richard W.M. Jones [Tue, 6 May 2014 15:49:19 +0000 (16:49 +0100)]
mclu initial commit.