summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-12-09 13:45:01 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-12-09 13:45:01 +0000
commitb5cd7fa7e85d751d2868340248e02836ff0cceae (patch)
tree64be4c703bcffa28e30553928174b70a86da08af
parent499e1a72037a48fa810503ff1f2fe49c737dc141 (diff)
downloaddefinitions-b5cd7fa7e85d751d2868340248e02836ff0cceae.tar.gz
workaround
-rwxr-xr-xpxeboot.write4
1 files changed, 2 insertions, 2 deletions
diff --git a/pxeboot.write b/pxeboot.write
index e33da527..c20fa559 100755
--- a/pxeboot.write
+++ b/pxeboot.write
@@ -479,7 +479,7 @@ class PXEBoot(morphlib.writeexts.WriteExtension):
# Needs IPMI_USER, IPMI_PASSWORD, IPMI_HOST and PXEBOOT_VLAN
default = textwrap.dedent('''\
ipmitool -I lanplus -U "$IPMI_USER" -E -H "$IPMI_HOST" \\
- lan set 1 vlan id "$PXEBOOT_VLAN"
+ lan set 2 vlan id "$PXEBOOT_VLAN"
''')
else:
default = textwrap.dedent('''\
@@ -537,7 +537,7 @@ class PXEBoot(morphlib.writeexts.WriteExtension):
# Needs IPMI_USER, IPMI_PASSWORD, IPMI_HOST
default = textwrap.dedent('''\
ipmitool -I lanplus -U "$IPMI_USER" -E -H "$IPMI_HOST" \\
- lan set 1 vlan id off
+ lan set 2 vlan id off
''')
else:
default = textwrap.dedent('''\