我正在努力让salt-cloud提供一台(或多台)专用networking的新服务器。
SaltStack的文档在这里说,我应该把这个“部分”添加到“providers”的configuration文件中:
networks: - fixed: # This is the private network - private-network-id # This is Rackspace's "PublicNet" - 00000000-0000-0000-0000-000000000000 # This is Rackspace's "ServiceNet" - 11111111-1111-1111-1111-111111111111
所以我这样做(当然用私人networking的UUID取代private-network-id )。
没有工作。
我试图将这一节添加到“configuration文件”configuration文件中。
也没有工作。
我试图删除-fixed:primefaces(因此促进下面的列表)。
仍然没有工作。
我在这里结束了我的智慧。 有人可以告诉我如何使用salt-cloudconfiguration服务器,同时将私有networking(除了PublicNet和ServiceNet)连接到实例?
或者这是根本不可能的?
我只是testing了这一点。 这是我的工作提供者configuration
cat /etc/salt/cloud.providers.d/rackspace.conf
rs: minion: master: <master ip or url> # Configure Rackspace using the OpenStack plugin # identity_url: 'https://identity.api.rackspacecloud.com/v2.0/tokens' compute_name: cloudServersOpenStack protocol: ipv4 # Set the compute region: # compute_region: DFW # Configure Rackspace authentication credentials # user: <user name> tenant: <tenant> apikey: <api key> driver: openstack networks: - fixed: # This is the private network - < private network UUID > # This is Rackspace's "PublicNet" - 00000000-0000-0000-0000-000000000000 # This is Rackspace's "ServiceNet" - 11111111-1111-1111-1111-111111111111