New Question

Revision history [back]

set vlanID in meta-data

Hello how can I set vlanid in metadata? this is my meta-data that everythings ok but vlanid not set.

instance-id: abc
network-interfaces: |
  iface eth0 inet static
  address 192.168.1.120
  netmask 255.255.255.0
  broadcast 192.168.1.255
  gateway 192.168.1.1
  vlan_name eth0
  vlan_link eth0
  vlan_id 100
  dns-nameservers 8.8.8.8

hostname: abc

set vlanID in meta-data

Hello how can I set vlanid in metadata? this is my meta-data that everythings ok work but vlanid not set.

instance-id: abc
network-interfaces: |
  iface eth0 inet static
  address 192.168.1.120
  netmask 255.255.255.0
  broadcast 192.168.1.255
  gateway 192.168.1.1
  vlan_name eth0
  vlan_link eth0
  vlan_id 100
  dns-nameservers 8.8.8.8

hostname: abc