Hi
I can successfully deploy a CSR with a PowerShell script with the OVA template.
Basically I use this in the script:
$csr_OvfPath = "csr1000v-universalk9.17.03.03.ova"
$csrOvfConfig = Get-OvfConfiguration -Ovf $csr_OvfPath
$csrConfigHash = $csrOvfConfig.ToHashTable()
$csrConfigHash["com.cisco.csr1000v.hostname.1"] = $vcube.csr_hostname
...and a lot more...
Import-VApp $csr_OvfPath -Name $vcube.vmName -OvfConfiguration $csrConfigHash -VMHost $vmHost -Datastore $csrDatastore
...and this works pretty well -the vCSR is deployed but config-related rather empty.
*BUT* when I try to configure some additional stuff with "com.cisco.csr1000v.ios-config-0001" it ignores those config statements.
Example:
$csrConfigHash["com.cisco.csr1000v.ios-config-0001"] = "ip vrf Mgmt"
$csrConfigHash["com.cisco.csr1000v.ios-config-0002"] = "description *** scco ***"
$csrConfigHash["com.cisco.csr1000v.ios-config-0003"] = "rd 100:101"
I already tried a lot of different stuff (e.g. with/without trailing ".1") - but am now running out of ideas
Any good ideas?