boot: Use host-passthrough instead of host-model.
[mclu.git] / mclu.conf
index 8ed1c39..b19bfd1 100644 (file)
--- a/mclu.conf
+++ b/mclu.conf
@@ -1,66 +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
+# mclu: Mini Cloud
+# Configuration file.
 
-# 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 nodes section lists all nodes.  The keys don't need to be
-# sequential, but must start with 'node'.  The values are the short
-# names of the nodes.  If a node goes out of service permanently, you
-# can just comment it out here.
 [nodes]
-node0 = ham0
-node1 = ham1
-node2 = ham2
-node3 = ham3
-
-# You need one section per node listed in [nodes].
-# Possible fields are:
-#   host
-#     Hostname or IP address of the node, if omitted it uses the
-#     node name as the hostname
-#   mac
-#     MAC (ethernet) address (only used for wake-on-LAN)
-#   uri
-#     Libvirt URI used to access the remote libvirt daemon running
-#     on the node.  The default is: qemu+ssh://root@%(host)s/system
-#     Note that you must allow passwordless root ssh access (eg.
-#     using ssh-agent).
-[ham0]
-host = ham0.home.annexia.org
-mac = 74:d4:35:55:85:3f
-#uri = qemu+ssh://root@%(host)s/system
-[ham1]
-host = ham1.home.annexia.org
-mac = 74:d4:35:51:ab:86
-#uri = qemu+ssh://root@%(host)s/system
-[ham2]
-host = ham2.home.annexia.org
-mac = 74:d4:35:55:82:96
-#uri = qemu+ssh://root@%(host)s/system
-[ham3]
-host = ham3.home.annexia.org
-mac = 74:d4:35:55:84:b4
-#uri = qemu+ssh://root@%(host)s/system
+# 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