gds-operations/vcloud-tools

-bash: I, Command Not Found

vialde opened this issue · 2 comments

Some oddness here as well. Trying to launch servers with the following

eval $(FOG_CREDENTIAL=vcloud_creds vcloud-launch git/gitlab/yaml/skyscape.yaml)

Yields this

-bash: I,: command not found

My yaml file is

vapps:
  - name: 'app0001-01'
    vdc_name: 'XXXXX'
    catalog_name: 'PaaS catalog'
    vapp_template_name: 'Red Hat Enterprise Linus 6 64-bit'
    vm:
      hardware_config:
        memory: 2048
        cpu: 2
      network_connections:
      - name: 'collaboration'
        ip_address: 'XXXXX'
      metadata:
        role: XXXX
        environment: Development
      storage_profile: '40-60-6-BASIC-Any'

Any Ideas?

Hey,

The command should be:

FOG_CREDENTIAL=vcloud_creds vcloud-launch git/gitlab/yaml/skyscape.yaml

The vcloud-launch tool isn't intended to be wrapped with eval $(…). It outputs normal log messages that aren't intended to be consumed by your shell, unlike vcloud-login which outputs an export … statement to be executed by your current shell.

Ah Ha! thanks