This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018/12/17 14:06:54 [INFO] Packer version: 1.4.0-dev (845d29b45) | |
2018/12/17 14:06:54 Packer Target OS/Arch: darwin amd64 | |
2018/12/17 14:06:54 Built with Go Version: go1.11.2 | |
2018/12/17 14:06:54 Detected home directory from env var: /Users/mmarsh | |
2018/12/17 14:06:54 Using internal plugin for oracle-classic | |
2018/12/17 14:06:54 Using internal plugin for scaleway | |
2018/12/17 14:06:54 Using internal plugin for amazon-ebssurrogate | |
2018/12/17 14:06:54 Using internal plugin for ncloud | |
2018/12/17 14:06:54 Using internal plugin for hcloud | |
2018/12/17 14:06:54 Using internal plugin for lxd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[bodduls@labd-rclap00142 vmware-srini]$ ./packer build rhel75.json | |
2018/11/19 12:08:51 [INFO] Packer version: 1.3.2 | |
2018/11/19 12:08:51 Packer Target OS/Arch: linux amd64 | |
2018/11/19 12:08:51 Built with Go Version: go1.11.1 | |
2018/11/19 12:08:51 Detected home directory from env var: /home/bodduls | |
2018/11/19 12:08:51 Using internal plugin for amazon-chroot | |
2018/11/19 12:08:51 Using internal plugin for docker | |
2018/11/19 12:08:51 Using internal plugin for oracle-oci | |
2018/11/19 12:08:51 Using internal plugin for scaleway | |
2018/11/19 12:08:51 Using internal plugin for virtualbox-iso |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018/10/19 16:13:30 [INFO] Packer version: 1.3.1 | |
2018/10/19 16:13:30 Packer Target OS/Arch: linux amd64 | |
2018/10/19 16:13:30 Built with Go Version: go1.11 | |
2018/10/19 16:13:30 Detected home directory from env var: /user/dev | |
2018/10/19 16:13:30 Using internal plugin for googlecompute | |
2018/10/19 16:13:30 Using internal plugin for ncloud | |
2018/10/19 16:13:30 Using internal plugin for parallels-pvm | |
2018/10/19 16:13:30 Using internal plugin for azure-arm | |
2018/10/19 16:13:30 Using internal plugin for lxc | |
2018/10/19 16:13:30 Using internal plugin for lxd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: | |
- all | |
become: yes | |
any_errors_fatal: yes | |
tasks: | |
- name: Say hi | |
command: "echo whoooooooo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<powershell> | |
# Set administrator password | |
net user Administrator SuperS3cr3t! | |
wmic useraccount where "name='Administrator'" set PasswordExpires=FALSE | |
# First, make sure WinRM can't be connected to | |
netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" new enable=yes action=block | |
# Delete any existing WinRM listeners | |
winrm delete winrm/config/listener?Address=*+Transport=HTTP 2>$Null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packer build test_5417.json | |
2017/10/12 12:17:03 [INFO] Packer version: 1.1.1-dev (ce01e198) | |
2017/10/12 12:17:03 Packer Target OS/Arch: darwin amd64 | |
2017/10/12 12:17:03 Built with Go Version: go1.8.1 | |
2017/10/12 12:17:03 Detected home directory from env var: /Users/mmarsh | |
2017/10/12 12:17:03 Using internal plugin for lxc | |
2017/10/12 12:17:03 Using internal plugin for profitbricks | |
2017/10/12 12:17:03 Using internal plugin for vmware-vmx | |
2017/10/12 12:17:03 Using internal plugin for amazon-ebsvolume | |
2017/10/12 12:17:03 Using internal plugin for cloudstack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mmarsh@Megans-MacBook-Pro ~/dev/packer-ubuntu master ● packer build 1404-min.json | |
2017/08/31 16:22:56 [INFO] Packer version: 1.1.0-dev (f96f3495) | |
2017/08/31 16:22:56 Packer Target OS/Arch: darwin amd64 | |
2017/08/31 16:22:56 Built with Go Version: go1.8.1 | |
2017/08/31 16:22:56 Detected home directory from env var: /Users/mmarsh | |
2017/08/31 16:22:56 Using internal plugin for parallels-pvm | |
2017/08/31 16:22:56 Using internal plugin for amazon-chroot | |
2017/08/31 16:22:56 Using internal plugin for amazon-ebsvolume | |
2017/08/31 16:22:56 Using internal plugin for amazon-instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017/08/28 17:24:23 packer: 2017/08/28 17:24:23 Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory | |
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 [INFO] 13 bytes written for 'uploadData' | |
2017/08/28 17:24:28 [INFO] 13 bytes written for 'uploadData' | |
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 opening new ssh session | |
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 Starting remote scp process: scp -vt /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T | |
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 Started SCP session, beginning transfers... | |
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 Copying input data into temporary file so we can read the length | |
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 [DEBUG] scp: Uploading packer-shell501563101: perms=C0644 size=13 | |
2017/08/28 17:24:28 packer: 2017/08/28 17:24:28 Retryable error: Error uploading script: scp: /var/folders/8t/0yb5q0_x6mb2jldqq_vjn3lr0000gn/T: No such file or directory | |
2017/08/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"aws_access_key": "{{env `AWS_ACCESS_KEY_ID`}}", | |
"aws_secret_key": "{{env `AWS_SECRET_ACCESS_KEY`}}", | |
"region": "{{env `AWS_DEFAULT_REGION`}}" | |
}, | |
"builders": [ | |
{ | |
"access_key": "{{user `aws_access_key`}}", | |
"ami_name": "packer-qs-{{timestamp}}", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
random.seed() | |
SLEEP_TIME = 2 | |
def clear_screen(): | |
print(chr(27) + "[2J") | |
turn_number = 1 |