-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
salt-cloud VMware IPv6 and/or multiple IPs #51275
Comments
@Marx1st Thanks for the report. I do not believe this is supported at the moment but would definitely be a good addition. I'm approving it for a future feature addition. |
Is this a far in the future feature request or something we might be able to see soon? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Thank you for updating this issue. It is no longer marked as stale. |
@Marx1st, @deput-d if your VMs have both VMware tools (to pass metadata from vSphere to the VM) and cloud-init (to read the metadata and apply the configuration) installed in your VM templates, you can configure IPv4 normally, and pass the IPv6 configuration through An example of a
Be sure that https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v2.html |
I constantly deploy new VMs on our vSphere cluster using salt-cloud. For this I clone an existing vm and define the ip in a .conf file.
Our networking department always provides both an IPv4 and an IPv6 address for new servers.
The profile files for salt-cloud and VMWare only support one IP per nic, but I would like to add both IPv4 and IPv6 address to a single nic in the vm.
Setup
devices: network: Network adapter 1: name: "dPG name (424)" dvs_switch: "DSwitch name zentral" switch_type: distributed adapter_type: vmxnet3 ip: 132.xxx.xxx.xxx gateway: [132.xxx.xxx.xxx] subnet_mask: 255.255.255.192
` # salt --versions-report
Salt Version:
Salt: 2018.3.3
Dependency Versions:
cffi: 0.8.6
cherrypy: Not Installed
dateutil: 2.2
docker-py: Not Installed
gitdb: 0.5.4
gitpython: 0.3.2 RC1
ioflo: Not Installed
Jinja2: 2.9.4
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.2
mysql-python: Not Installed
pycparser: 2.10
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.9 (default, Sep 25 2018, 20:42:16)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 14.4.0
RAET: Not Installed
smmap: 0.8.2
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.5
System Versions:
dist: debian 8.11
locale: UTF-8
machine: x86_64
release: 3.16.0-7-amd64
system: Linux
version: debian 8.11 `
The text was updated successfully, but these errors were encountered: