Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am annaken on github.
  • I am annaken (https://keybase.io/annaken) on keybase.
  • I have a public key ASC2rzwWbE-gM-sunImaqbl3R0LdlXy9dsgkt9vBHBSuwQo

To claim this, I am signing this object:

{
"_comment": ["2006-01-02 15:04:05 is a magic reference date for isotime",
"more info at https://www.packer.io/docs/templates/configuration-templates.html"],
"variables": {
"ami_type": "{{env `AMI_TYPE`}}",
"ami_prefix": "{{env `AMI_PREFIX`}}",
"source_ami": "{{env `SOURCE_AMI`}}",
"ssh_keypair_name": "{{env `SSH_KEYPAIR_NAME`}}",
"ssh_private_key_file": "{{env `SSH_PRIVATE_KEY_FILE`}}",
"git_hash": ""
amazon-ebs output will be in this color.
==> amazon-ebs: Prevalidating AMI Name...
amazon-ebs: Found Image ID: ami-8af219f3
==> amazon-ebs: Creating temporary keypair: packer_597b25d9-22e4-f67f-25c8-3b0aab315e3e
==> amazon-ebs: Creating temporary security group for this instance: packer_597b25db-43fd-7889-892c-cda656f44167
==> amazon-ebs: Authorizing access to port 22 on the temporary security group...
==> amazon-ebs: Launching a source AWS instance...
amazon-ebs: Instance ID: i-08820de52d02d3229
==> amazon-ebs: Waiting for instance (i-08820de52d02d3229) to become ready...
### Keybase proof
I hereby claim:
* I am annaken on github.
* I am annaken (https://keybase.io/annaken) on keybase.
* I have a public key whose fingerprint is 18C5 27C1 015A D30C 0B06 CE55 9104 4AF5 49A7 DBEF
To claim this, I am signing this object:
@annaken
annaken / gist:a16a809bae68496b4421
Created July 22, 2014 07:20
Input ouput mismatch
DEBUG ssh: Exit status: 0
DEBUG guest: Searching for cap: shell_expand_guest_path
DEBUG guest: Checking in: redhat
DEBUG guest: Checking in: linux
DEBUG guest: Found cap: shell_expand_guest_path in linux
INFO guest: Execute capability: shell_expand_guest_path [#<Vagrant::Machine: default (VagrantPlugins::ProviderVirtualBox::Provider)>, "/vagrant"] (redhat)
DEBUG ssh: Re-using SSH connection.
INFO ssh: Execute: echo; printf /vagrant (sudo=false)
DEBUG ssh: pty obtained for connection
DEBUG ssh: stdout: export TERM=vt100^M
@annaken
annaken / debug.log
Created July 18, 2014 12:24
Writing hostname to hosts file fails
INFO global: Vagrant version: 1.6.3
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Linux"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: VAGRANT_LOG="debug"