Hi.
I'm trying to do a cli-installation of a vCenter server appliance from a json-template, and the appliance should be ipv6-only. The relevant part of the json-templates is:
| "network": { |
| "hostname": "vcsa.example.com", |
| "dns.servers": [ |
| "X:X:X:X::27" |
| ], |
| "gateway": "X:X:X:X::1", |
| "ip": "X:X:X:X::5", |
| "ip.family": "ipv6", |
| "mode": "static", |
| "prefix": "64" |
| }, |
I've replaced the first half of the IPv6 addresses with X:X:X:X. Then running ./lin64/vcsa-deploy -v --verify-only --no-esx-ssl-verify --accept-eula ~/Documents/vcsa.example.com.json gives me this error message:
| Validating section 'network'... |
| Validating key 'ip.family' with value 'ipv6'... |
| The value for key 'ip.family' passed validation check successfully. |
| Validating key 'ip' with value 'X:X:X:X::5'... |
Validating the IP address 'X:X:X:X::5' with mode 'ipv4'
Encountered an error while validating the IP address: X:X:X:X::5
| Validating key 'hostname' with value 'vcsa.example.com'... |
| The value for key 'hostname' passed validation check successfully. |
| Validating key 'prefix' with value '64'... |
| The value for key 'prefix' passed validation check successfully. |
| Validating key 'mode' with value 'static'... |
| The value for key 'mode' passed validation check successfully. |
| Validating key 'dns.servers' with value 'X:X:X:X::27'... |
Validating the IP address 'X:X:X:X::27' with mode 'ipv6'
| The value for key 'dns.servers' passed validation check successfully. |
| Validating key 'gateway' with value 'X:X:X:X::1'... |
Validating the IP address 'X:X:X:X::1' with mode 'ipv6'
| The value for key 'gateway' passed validation check successfully. |
| The following keys were not defined: [u'ports'] |
I guess that there is a bug in the vcsa-deploy which defaults to mode 'ipv4' and doesn't use ip.family from the json-file. Have anyone been able to do such installation with static IPv6? Is there a workaround?
Best regards,
Morten Werner Forsbring