Skip to content

Instantly share code, notes, and snippets.

@juanxhos
Created April 27, 2017 14:10
Show Gist options
  • Save juanxhos/16c05f9a5715c084cc3c910bb04e5d7b to your computer and use it in GitHub Desktop.
Save juanxhos/16c05f9a5715c084cc3c910bb04e5d7b to your computer and use it in GitHub Desktop.
more fixes tested
----> Starting Kitchen (v1.16.0)
-----> Creating <static-windows-2012r2>...
[2017-04-27T10:27:18-03:00] WARN: Port 8889 not available
creating machine static-windows-2012r2-20f26c39 on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true
use_linked_clone: false
datacenter: "Cluster_Poc"
resource_pool: "POC01/PoC-Pool"
vm_folder: "Servidores Chef/kitchen/jcah"
num_cpus: 4
network_name: ["n1kPoC-Vmware60/poc_productiva2"]
memory_mb: 4096
bootstrap_ipv4: true
ipv4_timeout: 300
ssh: {:user=>"Administrator", :password=>"*********", :port=>5985}
template_folder: "VMWARE"
template_name: "TPL-WIN2012R2-SYSPREPV2"
customization_spec: {:hostname=>"static-snapdrive", :domain=>"WORKGROUP", :org_name=>"poc", :domainAdmin=>"Administrator@WORKGROUP", :domainAdminPassword=>"Config2006", :win_time_zone=>56, :product_id=>"HIDDEN", :ipsettings=>{:ip=>"10.159.11.132", :subnetMask=>"255.255.255.0", :gateway=>["10.159.11.1"], :dnsServerList=>["10.159.11.21", "8.8.8.8"]}}
establishing connection to nvsplservctvp01.infra.novis.cl
finding networks...
network: n1kPoC-Vmware60/poc_productiva2 is a DistributedVirtualPortgroup
changing template nic for n1kPoC-Vmware60/poc_productiva2
customizing static-windows-2012r2-20f26c39 with static IP 10.159.11.132
customizing static-windows-2012r2-20f26c39 with /
dynamic IP and DNS: ["10.159.11.21", "8.8.8.8"]
joining domain WORKGROUP /
with user: Administrator@WORKGROUP
Machine - created - static-windows-2012r2-20f26c39 (502b00c2-a297-5c10-8850-1c4d90172a2f on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true)
Power on VM [jcah/static-windows-2012r2-20f26c39]
waiting for static-windows-2012r2-20f26c39 (502b00c2-a297-5c10-8850-1c4d90172a2f on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true) to be ready
.....................................static-windows-2012r2-20f26c39 is now ready
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Waiting up to 600 seconds for customization
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP addresses found: ["10.159.11.132"]
IP address obtained: 10.159.11.132
waiting to domain join and be named static-windows-.WORKGROUP
......waiting for static-windows-2012r2-20f26c39 (502b00c2-a297-5c10-8850-1c4d90172a2f on vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true) to be connectable (transport up and running) ...
..........static-windows-2012r2-20f26c39 is now connectable
create node static-windows-2012r2-20f26c39 at chefzero://localhost:8890
add normal.chef_provisioning = {"reference"=>{"driver_url"=>"vsphere://nvsplservctvp01.infra.novis.cl/sdk?use_ssl=true&insecure=true", "driver_version"=>"1.1.1", "server_id"=>"502b00c2-a297-5c10-8850-1c4d90172a2f", "is_windows"=>true, "allocated_at"=>"2017-04-27 13:29:46 UTC", "ipaddress"=>"10.159.11.132"}}
add normal.tags = nil
Finished creating <static-windows-2012r2> (22m45.77s).
-----> Kitchen is finished. (22m48.17s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment