summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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('''\