diff options
Diffstat (limited to 'templates')
5 files changed, 9 insertions, 9 deletions
diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def index e654928..83ce62f 100644 --- a/templates/interfaces/ethernet/node.tag/address/node.def +++ b/templates/interfaces/ethernet/node.tag/address/node.def @@ -1,5 +1,5 @@ multi: type: ipv4net help: "Set IPv4 address and prefix for this interface" -update: "sudo ip addr add $(@) broadcast + dev $(../@)"; "error setting address $(@) on dev $(../@)" -delete: "sudo ip addr del $(@) dev $(../@)"; "error deleting address $(@) on dev $(../@)" +update: "sudo ip addr add $(@) broadcast + dev $(../@)"; "Error setting address $(@) on dev $(../@)" +delete: "sudo ip addr del $(@) dev $(../@)"; "Error deleting address $(@) on dev $(../@)" diff --git a/templates/interfaces/ethernet/node.tag/mac/node.def b/templates/interfaces/ethernet/node.tag/mac/node.def index b6b1e5e..ef8fae7 100644 --- a/templates/interfaces/ethernet/node.tag/mac/node.def +++ b/templates/interfaces/ethernet/node.tag/mac/node.def @@ -1,4 +1,4 @@ type: macaddr help: "Set the MAC address of this interface" -update: "sudo ip link set $(../@) address $(@)"; "error setting MAC address on dev $(../@)" -delete: "sudo ip link set $(../@) address $(../hw-id/@)"; "error setting MAC address on dev $(../@) to $(../hw-id/@)" +update: "sudo ip link set $(../@) address $(@)"; "Error setting MAC address on dev $(../@)" +delete: "sudo ip link set $(../@) address $(../hw-id/@)"; "Error setting MAC address on dev $(../@) to $(../hw-id/@)" diff --git a/templates/interfaces/ethernet/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/mtu/node.def index 5f87312..da0a04f 100644 --- a/templates/interfaces/ethernet/node.tag/mtu/node.def +++ b/templates/interfaces/ethernet/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 help: "Set the MTU for this interface" syntax: $(@) >= 1 && $(@) <= 1500; "MTU must be between 1 and 1500" -update: "sudo ip link set $(../@) mtu $(@)"; "error setting MTU on dev $(../@)" -delete: "sudo ip link set $(../@) mtu 1500"; "error deleting MTU on dev $(../@)" +update: "sudo ip link set $(../@) mtu $(@)"; "Error setting MTU on dev $(../@)" +delete: "sudo ip link set $(../@) mtu 1500"; "Error deleting MTU on dev $(../@)" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def index c153e82..08bf3ea 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def @@ -2,4 +2,4 @@ multi: type: ipv4net help: "Set IPv4 address and prefix for this interface" update: "sudo ip addr add $(@) dev $(../../@).$(../@)"; "Error setting address $(@) on dev $(../../@).$(../@)" -delete: "sudo ip addr del $(@) dev $(../../@).$(../@)"; "Error deleteing address $(@) on dev $(../../@).$(../@)" +delete: "sudo ip addr del $(@) dev $(../../@).$(../@)"; "Error deleting address $(@) on dev $(../../@).$(../@)" diff --git a/templates/interfaces/loopback/node.tag/address/node.def b/templates/interfaces/loopback/node.tag/address/node.def index cdef75c..e597676 100644 --- a/templates/interfaces/loopback/node.tag/address/node.def +++ b/templates/interfaces/loopback/node.tag/address/node.def @@ -2,5 +2,5 @@ multi: type: ipv4net help: "Set IPv4 address and prefix for this interface" # TODO make sure 127.0.0.0/8 not in here. -update: "sudo ip addr add $(@) dev $(../@)"; "error setting address $(@) on dev $(../@)" -delete: "sudo ip addr del $(@) dev $(../@)"; "error deleteing address $(@) on dev $(../@)" +update: "sudo ip addr add $(@) dev $(../@)"; "Error setting address $(@) on dev $(../@)" +delete: "sudo ip addr del $(@) dev $(../@)"; "Error deleting address $(@) on dev $(../@)" |