Skip to content
Snippets Groups Projects
Commit 57f026d5 authored by Thomas Bellman's avatar Thomas Bellman
Browse files

More consistent formatting of Xen domU config files.

Always have single spaces surround the equal signs in
assignments in the Xen domU config files.

This was originally commit e124c0ea7783 in nsc-puppet-utils.
parent 8104d8e2
Branches
No related tags found
No related merge requests found
......@@ -15,22 +15,22 @@
name = "<%= vmname %>"
hostname= "<%= hostname %>"
hostname = "<%= hostname %>"
vcpus = <%= cpus %>
memory = <%= xmemory %>
maxmem = <%= maxmemory %>
<%
_erbout += sprintf("bootloader='%s'\n", bootloader) \
_erbout += sprintf("bootloader = '%s'\n", bootloader) \
if bootloader and bootloader != ""
_erbout += sprintf("kernel='%s'\n", kernel) \
_erbout += sprintf("kernel = '%s'\n", kernel) \
if kernel and kernel != ""
_erbout += sprintf("ramdisk='%s'\n", ramdisk) \
_erbout += sprintf("ramdisk = '%s'\n", ramdisk) \
if ramdisk and ramdisk != ""
_erbout += sprintf("extra='%s'\n", kernelparams) \
_erbout += sprintf("extra = '%s'\n", kernelparams) \
if kernelparams and kernelparams != ""
_erbout += sprintf("root='%s'\n", root) \
_erbout += sprintf("root = '%s'\n", root) \
if root and root != ""
-%>
......@@ -44,7 +44,6 @@ disk = [
end
end
%>]
vif = [
<%
interfaces.each_with_index do |spec,i|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment