Advertisement
Guest User

Untitled

a guest
Sep 11th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.02 KB | None | 0 0
  1. [root@localhost ta-tf]# terraform apply
  2. vsphere_folder.build_folder: Creating...
  3. datacenter: "" => "Datacenter"
  4. existing_path: "" => "<computed>"
  5. path: "" => "portal/mfgs/qtm/builds/20170906053355"
  6. vsphere_folder.build_folder: Creation complete after 0s (ID: Datacenter/portal/mfgs/qtm/builds/20170906053355)
  7. vsphere_virtual_machine.centos: Creating...
  8. cluster: "" => "Compute-Cluster"
  9. datacenter: "" => "Datacenter"
  10. detach_unknown_disks_on_delete: "" => "false"
  11. disk.#: "" => "1"
  12. disk.1118317581.bootable: "" => ""
  13. disk.1118317581.controller_type: "" => "scsi"
  14. disk.1118317581.datastore: "" => ""
  15. disk.1118317581.iops: "" => ""
  16. disk.1118317581.keep_on_remove: "" => ""
  17. disk.1118317581.key: "" => "<computed>"
  18. disk.1118317581.name: "" => ""
  19. disk.1118317581.size: "" => ""
  20. disk.1118317581.template: "" => "vm-centos74-20170906025855"
  21. disk.1118317581.type: "" => "thin"
  22. disk.1118317581.uuid: "" => "<computed>"
  23. disk.1118317581.vmdk: "" => ""
  24. domain: "" => "corp.local"
  25. enable_disk_uuid: "" => "false"
  26. folder: "" => "portal/mfgs/qtm/builds/20170906053355"
  27. hostname: "" => "tf-centos"
  28. linked_clone: "" => "true"
  29. memory: "" => "4096"
  30. memory_reservation: "" => "0"
  31. moid: "" => "<computed>"
  32. name: "" => "qtm-20170906053355-centos"
  33. network_interface.#: "" => "1"
  34. network_interface.0.ip_address: "" => "<computed>"
  35. network_interface.0.ipv4_address: "" => "172.16.3.100"
  36. network_interface.0.ipv4_gateway: "" => "172.16.3.1"
  37. network_interface.0.ipv4_prefix_length: "" => "24"
  38. network_interface.0.ipv6_address: "" => "<computed>"
  39. network_interface.0.ipv6_gateway: "" => "<computed>"
  40. network_interface.0.ipv6_prefix_length: "" => "<computed>"
  41. network_interface.0.key: "" => "<computed>"
  42. network_interface.0.label: "" => "vxw-dvs-15-virtualwire-6-sid-5002-qtm-20170906053355-Management"
  43. network_interface.0.mac_address: "" => "<computed>"
  44. network_interface.0.subnet_mask: "" => "<computed>"
  45. resource_pool: "" => "Compute-Cluster/Resources/qtm-ovdc-01"
  46. skip_customization: "" => "false"
  47. time_zone: "" => "Etc/UTC"
  48. uuid: "" => "<computed>"
  49. vcpu: "" => "2"
  50. vsphere_virtual_machine.wincon: Creating...
  51. cluster: "" => "Compute-Cluster"
  52. datacenter: "" => "Datacenter"
  53. detach_unknown_disks_on_delete: "" => "false"
  54. disk.#: "" => "1"
  55. disk.3865792212.bootable: "" => ""
  56. disk.3865792212.controller_type: "" => "scsi"
  57. disk.3865792212.datastore: "" => ""
  58. disk.3865792212.iops: "" => ""
  59. disk.3865792212.keep_on_remove: "" => ""
  60. disk.3865792212.key: "" => "<computed>"
  61. disk.3865792212.name: "" => ""
  62. disk.3865792212.size: "" => ""
  63. disk.3865792212.template: "" => "vm-windows-2012-r2-20170908132955"
  64. disk.3865792212.type: "" => "thin"
  65. disk.3865792212.uuid: "" => "<computed>"
  66. disk.3865792212.vmdk: "" => ""
  67. domain: "" => "vsphere.local"
  68. enable_disk_uuid: "" => "false"
  69. folder: "" => "portal/mfgs/qtm/builds/20170906053355"
  70. hostname: "" => "tf-wincon"
  71. linked_clone: "" => "true"
  72. memory: "" => "4096"
  73. memory_reservation: "" => "0"
  74. moid: "" => "<computed>"
  75. name: "" => "qtm-20170906053355-wincon"
  76. network_interface.#: "" => "1"
  77. network_interface.0.ip_address: "" => "<computed>"
  78. network_interface.0.ipv4_address: "" => "172.16.3.101"
  79. network_interface.0.ipv4_gateway: "" => "172.16.3.1"
  80. network_interface.0.ipv4_prefix_length: "" => "24"
  81. network_interface.0.ipv6_address: "" => "<computed>"
  82. network_interface.0.ipv6_gateway: "" => "<computed>"
  83. network_interface.0.ipv6_prefix_length: "" => "<computed>"
  84. network_interface.0.key: "" => "<computed>"
  85. network_interface.0.label: "" => "vxw-dvs-15-virtualwire-6-sid-5002-qtm-20170906053355-Management"
  86. network_interface.0.mac_address: "" => "<computed>"
  87. network_interface.0.subnet_mask: "" => "<computed>"
  88. resource_pool: "" => "Compute-Cluster/Resources/qtm-ovdc-01"
  89. skip_customization: "" => "false"
  90. time_zone: "" => "Etc/UTC"
  91. uuid: "" => "<computed>"
  92. vcpu: "" => "2"
  93. windows_opt_config.#: "" => "1"
  94. windows_opt_config.0.admin_password: "" => "TechAccel1!"
  95. vsphere_virtual_machine.centos: Still creating... (10s elapsed)
  96. vsphere_virtual_machine.wincon: Still creating... (10s elapsed)
  97. vsphere_virtual_machine.wincon: Still creating... (20s elapsed)
  98. vsphere_virtual_machine.centos: Still creating... (20s elapsed)
  99. vsphere_virtual_machine.centos: Still creating... (30s elapsed)
  100. vsphere_virtual_machine.wincon: Still creating... (30s elapsed)
  101. vsphere_virtual_machine.wincon: Still creating... (40s elapsed)
  102. vsphere_virtual_machine.centos: Still creating... (40s elapsed)
  103. vsphere_virtual_machine.centos: Still creating... (50s elapsed)
  104. vsphere_virtual_machine.wincon: Still creating... (50s elapsed)
  105. vsphere_virtual_machine.wincon: Still creating... (1m0s elapsed)
  106. vsphere_virtual_machine.centos: Still creating... (1m0s elapsed)
  107. vsphere_virtual_machine.centos: Still creating... (1m10s elapsed)
  108. vsphere_virtual_machine.wincon: Still creating... (1m10s elapsed)
  109. vsphere_virtual_machine.wincon: Still creating... (1m20s elapsed)
  110. vsphere_virtual_machine.centos: Still creating... (1m20s elapsed)
  111. vsphere_virtual_machine.centos: Still creating... (1m30s elapsed)
  112. vsphere_virtual_machine.wincon: Still creating... (1m30s elapsed)
  113. vsphere_virtual_machine.centos: Provisioning with 'remote-exec'...
  114. vsphere_virtual_machine.centos (remote-exec): Connecting to remote host via SSH...
  115. vsphere_virtual_machine.centos (remote-exec): Host: 10.1.0.200
  116. vsphere_virtual_machine.centos (remote-exec): User: root
  117. vsphere_virtual_machine.centos (remote-exec): Password: true
  118. vsphere_virtual_machine.centos (remote-exec): Private key: false
  119. vsphere_virtual_machine.centos (remote-exec): SSH Agent: false
  120. vsphere_virtual_machine.centos (remote-exec): Connected!
  121. vsphere_virtual_machine.centos (remote-exec): ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  122. vsphere_virtual_machine.centos (remote-exec): inet 172.16.3.100 netmask 255.255.255.0 broadcast 172.16.3.255
  123. vsphere_virtual_machine.centos (remote-exec): inet6 fe80::250:56ff:fe8f:d29b prefixlen 64 scopeid 0x20<link>
  124. vsphere_virtual_machine.centos (remote-exec): ether 00:50:56:8f:d2:9b txqueuelen 1000 (Ethernet)
  125. vsphere_virtual_machine.centos (remote-exec): RX packets 56 bytes 7177 (7.0 KiB)
  126. vsphere_virtual_machine.centos (remote-exec): RX errors 0 dropped 0 overruns 0 frame 0
  127. vsphere_virtual_machine.centos (remote-exec): TX packets 61 bytes 7869 (7.6 KiB)
  128. vsphere_virtual_machine.centos (remote-exec): TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  129.  
  130. vsphere_virtual_machine.centos (remote-exec): lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
  131. vsphere_virtual_machine.centos (remote-exec): inet 127.0.0.1 netmask 255.0.0.0
  132. vsphere_virtual_machine.centos (remote-exec): inet6 ::1 prefixlen 128 scopeid 0x10<host>
  133. vsphere_virtual_machine.centos (remote-exec): loop txqueuelen 1 (Local Loopback)
  134. vsphere_virtual_machine.centos (remote-exec): RX packets 68 bytes 5524 (5.3 KiB)
  135. vsphere_virtual_machine.centos (remote-exec): RX errors 0 dropped 0 overruns 0 frame 0
  136. vsphere_virtual_machine.centos (remote-exec): TX packets 68 bytes 5524 (5.3 KiB)
  137. vsphere_virtual_machine.centos (remote-exec): TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  138.  
  139. vsphere_virtual_machine.centos: Creation complete after 1m36s (ID: portal/mfgs/qtm/builds/20170906053355/qtm-20170906053355-centos)
  140. vsphere_virtual_machine.wincon: Still creating... (1m40s elapsed)
  141. vsphere_virtual_machine.wincon: Still creating... (1m50s elapsed)
  142. vsphere_virtual_machine.wincon: Still creating... (2m0s elapsed)
  143. vsphere_virtual_machine.wincon: Still creating... (2m10s elapsed)
  144. vsphere_virtual_machine.wincon: Still creating... (2m20s elapsed)
  145. vsphere_virtual_machine.wincon: Still creating... (2m30s elapsed)
  146. vsphere_virtual_machine.wincon: Still creating... (2m40s elapsed)
  147. vsphere_virtual_machine.wincon: Still creating... (2m50s elapsed)
  148. vsphere_virtual_machine.wincon: Still creating... (3m0s elapsed)
  149. vsphere_virtual_machine.wincon: Still creating... (3m10s elapsed)
  150. vsphere_virtual_machine.wincon: Provisioning with 'remote-exec'...
  151. vsphere_virtual_machine.wincon (remote-exec): Connecting to remote host via WinRM...
  152. vsphere_virtual_machine.wincon (remote-exec): Host: 10.1.0.200
  153. vsphere_virtual_machine.wincon (remote-exec): Port: 55985
  154. vsphere_virtual_machine.wincon (remote-exec): User: Administrator
  155. vsphere_virtual_machine.wincon (remote-exec): Password: true
  156. vsphere_virtual_machine.wincon (remote-exec): HTTPS: false
  157. vsphere_virtual_machine.wincon (remote-exec): Insecure: false
  158. vsphere_virtual_machine.wincon (remote-exec): CACert: false
  159. vsphere_virtual_machine.wincon: Still creating... (3m20s elapsed)
  160. vsphere_virtual_machine.wincon: Still creating... (3m30s elapsed)
  161. vsphere_virtual_machine.wincon: Still creating... (3m40s elapsed)
  162. vsphere_virtual_machine.wincon: Still creating... (3m50s elapsed)
  163. vsphere_virtual_machine.wincon: Still creating... (4m0s elapsed)
  164. vsphere_virtual_machine.wincon: Still creating... (4m10s elapsed)
  165. vsphere_virtual_machine.wincon: Still creating... (4m20s elapsed)
  166. vsphere_virtual_machine.wincon: Still creating... (4m30s elapsed)
  167. vsphere_virtual_machine.wincon: Still creating... (4m40s elapsed)
  168. vsphere_virtual_machine.wincon: Still creating... (4m50s elapsed)
  169. vsphere_virtual_machine.wincon: Still creating... (5m0s elapsed)
  170. vsphere_virtual_machine.wincon: Still creating... (5m10s elapsed)
  171. vsphere_virtual_machine.wincon: Still creating... (5m20s elapsed)
  172. vsphere_virtual_machine.wincon: Still creating... (5m30s elapsed)
  173. vsphere_virtual_machine.wincon: Still creating... (5m40s elapsed)
  174. vsphere_virtual_machine.wincon: Still creating... (5m50s elapsed)
  175. vsphere_virtual_machine.wincon: Still creating... (6m0s elapsed)
  176. vsphere_virtual_machine.wincon: Still creating... (6m10s elapsed)
  177. vsphere_virtual_machine.wincon: Still creating... (6m20s elapsed)
  178. vsphere_virtual_machine.wincon: Still creating... (6m30s elapsed)
  179. vsphere_virtual_machine.wincon: Still creating... (6m40s elapsed)
  180. vsphere_virtual_machine.wincon: Still creating... (6m50s elapsed)
  181. vsphere_virtual_machine.wincon: Still creating... (7m0s elapsed)
  182. vsphere_virtual_machine.wincon: Still creating... (7m10s elapsed)
  183. vsphere_virtual_machine.wincon: Still creating... (7m20s elapsed)
  184. vsphere_virtual_machine.wincon: Still creating... (7m30s elapsed)
  185. vsphere_virtual_machine.wincon: Still creating... (7m40s elapsed)
  186. vsphere_virtual_machine.wincon: Still creating... (7m50s elapsed)
  187. vsphere_virtual_machine.wincon: Still creating... (8m0s elapsed)
  188. vsphere_virtual_machine.wincon: Still creating... (8m10s elapsed)
  189. vsphere_virtual_machine.wincon (remote-exec): Connected!
  190. vsphere_virtual_machine.wincon: Still creating... (8m20s elapsed)
  191. vsphere_virtual_machine.wincon: Still creating... (8m30s elapsed)
  192.  
  193. vsphere_virtual_machine.wincon (remote-exec): C:\Users\Administrator>reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 1 /t REG_SZ /f
  194. vsphere_virtual_machine.wincon (remote-exec): The operation completed successfully.
  195.  
  196. vsphere_virtual_machine.wincon (remote-exec): C:\Users\Administrator>reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUsername /d Administrator /t REG_SZ /f
  197. vsphere_virtual_machine.wincon (remote-exec): The operation completed successfully.
  198.  
  199. vsphere_virtual_machine.wincon (remote-exec): C:\Users\Administrator>reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /d "TechAccel1!" /t REG_SZ /f
  200. vsphere_virtual_machine.wincon (remote-exec): The operation completed successfully.
  201.  
  202. vsphere_virtual_machine.wincon (remote-exec): C:\Users\Administrator>reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /d 500 /t REG_DWORD /f
  203. vsphere_virtual_machine.wincon (remote-exec): The operation completed successfully.
  204. vsphere_virtual_machine.wincon: Provisioning with 'remote-exec'...
  205. vsphere_virtual_machine.wincon (remote-exec): Connecting to remote host via WinRM...
  206. vsphere_virtual_machine.wincon (remote-exec): Host: 10.1.0.200
  207. vsphere_virtual_machine.wincon (remote-exec): Port: 55985
  208. vsphere_virtual_machine.wincon (remote-exec): User: Administrator
  209. vsphere_virtual_machine.wincon (remote-exec): Password: true
  210. vsphere_virtual_machine.wincon (remote-exec): HTTPS: false
  211. vsphere_virtual_machine.wincon (remote-exec): Insecure: false
  212. vsphere_virtual_machine.wincon (remote-exec): CACert: false
  213. vsphere_virtual_machine.wincon (remote-exec): Connected!
  214.  
  215. vsphere_virtual_machine.wincon (remote-exec): C:\Users\Administrator>ipconfig
  216.  
  217. vsphere_virtual_machine.wincon (remote-exec): Windows IP Configuration
  218.  
  219.  
  220. vsphere_virtual_machine.wincon (remote-exec): Ethernet adapter Ethernet 2:
  221.  
  222. vsphere_virtual_machine.wincon (remote-exec): Connection-specific DNS Suffix . :
  223. vsphere_virtual_machine.wincon (remote-exec): Link-local IPv6 Address . . . . . : fe80::501b:9334:bcb1:3ef%12
  224. vsphere_virtual_machine.wincon (remote-exec): IPv4 Address. . . . . . . . . . . : 172.16.3.101
  225. vsphere_virtual_machine.wincon (remote-exec): Subnet Mask . . . . . . . . . . . : 255.255.255.0
  226. vsphere_virtual_machine.wincon (remote-exec): Default Gateway . . . . . . . . . : 172.16.3.1
  227.  
  228. vsphere_virtual_machine.wincon (remote-exec): Tunnel adapter isatap.{05E99F77-8A23-4751-9493-47CB925346F0}:
  229.  
  230. vsphere_virtual_machine.wincon (remote-exec): Media State . . . . . . . . . . . : Media disconnected
  231. vsphere_virtual_machine.wincon (remote-exec): Connection-specific DNS Suffix . :
  232. vsphere_virtual_machine.wincon: Provisioning with 'remote-exec'...
  233. vsphere_virtual_machine.wincon (remote-exec): Connecting to remote host via WinRM...
  234. vsphere_virtual_machine.wincon (remote-exec): Host: 10.1.0.200
  235. vsphere_virtual_machine.wincon (remote-exec): Port: 55985
  236. vsphere_virtual_machine.wincon (remote-exec): User: Administrator
  237. vsphere_virtual_machine.wincon (remote-exec): Password: true
  238. vsphere_virtual_machine.wincon (remote-exec): HTTPS: false
  239. vsphere_virtual_machine.wincon (remote-exec): Insecure: false
  240. vsphere_virtual_machine.wincon (remote-exec): CACert: false
  241. vsphere_virtual_machine.wincon (remote-exec): Connected!
  242.  
  243. vsphere_virtual_machine.wincon (remote-exec): C:\Users\Administrator>shutdown /r /f /t 1
  244. vsphere_virtual_machine.wincon: Creation complete after 8m38s (ID: portal/mfgs/qtm/builds/20170906053355/qtm-20170906053355-wincon)
  245.  
  246. Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement