viewer: Run virt-viewer in the background.
[mclu.git] / mclu.conf
index 300b79e..b19bfd1 100644 (file)
--- a/mclu.conf
+++ b/mclu.conf
@@ -1,43 +1,12 @@
-# mclu (mini cluster) configuration file.
-#
-# This file is parsed by Python's ConfigParser.
-#
-# This is the real configuration file I use to control my
-# virtualization cluster.  For a picture of it see:
-# http://rwmj.wordpress.com/2014/04/28/caseless-virtualization-cluster-part-5/#content
-
-# Some defaults are provided:
-#   %(home)s expands to $HOME
-#   %(config_dir)s expands to the directory containing mclu.conf
-# Note that in the Python '%(...)s' syntax, 's' means 'string'.  It is
-# not part of the expanded output.
-
-# The global section has general configuration.
-[global]
-
-# The location of guest disk images.  This location MUST be shared
-# between all nodes including the machine running mclu (eg. using NFS
-# or some sort of clustered storage).
-images_dir = /var/lib/libvirt/images
-
-# The location of libvirt XML configuration files for guests.
-#
-# Note: This does NOT need to be shared or even visible on the cluster
-# nodes.  But it must be available on the machine running 'mclu'.
-xmls_dir = %(config_dir)s/xmls/
-
-# The name of the ansible group which contains the list of nodes
-# in the cluster.  You have to edit /etc/ansible/hosts and add a
-# section:
-#
-#   [cluster]
-#   ham0 mac=74:d4:35:55:85:3f
-#   ham1 mac=74:d4:35:51:ab:86
-#   ham2 mac=74:d4:35:55:82:96
-#   ham3 mac=74:d4:35:55:84:b4
-#
-# The mac=... (MAC addresses) are optional, to support wake-on-LAN.
-#
-# If you don't want to edit /etc/ansible/hosts then you can export
-# $ANSIBLE_HOSTS to name another file instead.
-nodes_group = cluster
+# mclu: Mini Cloud
+# Configuration file.
+
+[nodes]
+# Hostname followed by key=value pairs:
+#   mac= MAC (hardware network) address, for wake-on-LAN
+#   uri= The libvirt URI used to connect to the host
+#          (default: qemu+ssh://root@$hostname/system)
+ham0 mac=74:d4:35:55:85:3f
+ham1 mac=74:d4:35:51:ab:86
+ham2 mac=74:d4:35:55:82:96
+ham3 mac=74:d4:35:55:84:b4