Skip to content

Commit

Permalink
Update URLs to point to Hashicorp's github org
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed May 21, 2020
1 parent be3257b commit 2136327
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/bento/normalize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def fix(template)
raise "[#{template}] Error fixing, exited #{$CHILD_STATUS}" if $CHILD_STATUS.exitstatus != 0

# preserve ampersands in shell commands,
# see: https://github.com/mitchellh/packer/issues/784
# see: https://github.com/hashicorp/packer/issues/784
output.gsub!("\\u0026", "&")
File.open(file, "wb") { |dest| dest.write(output) }
fixed_checksum = checksum(file)
Expand Down
2 changes: 1 addition & 1 deletion packer_templates/_common/vagrant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# set a default HOME_DIR environment variable if not set
HOME_DIR="${HOME_DIR:-/home/vagrant}";

pubkey_url="https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub";
pubkey_url="https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub";
mkdir -p $HOME_DIR/.ssh;
if command -v wget >/dev/null 2>&1; then
wget --no-check-certificate "$pubkey_url" -O $HOME_DIR/.ssh/authorized_keys;
Expand Down
2 changes: 1 addition & 1 deletion packer_templates/macos/scripts/vagrant.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -eux

pubkey_url="https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub";
pubkey_url="https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub";
mkdir -p $HOME_DIR/.ssh;
if command -v wget >/dev/null 2>&1; then
wget --no-check-certificate "$pubkey_url" -O $HOME_DIR/.ssh/authorized_keys;
Expand Down
2 changes: 1 addition & 1 deletion packer_templates/solaris/scripts/vagrant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# set a default HOME_DIR environment variable if not set
HOME_DIR="${HOME_DIR:-/export/home/vagrant}";

pubkey_url="https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub";
pubkey_url="https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub";
mkdir -p $HOME_DIR/.ssh;
if command -v wget >/dev/null 2>&1; then
wget --no-check-certificate "$pubkey_url" -O $HOME_DIR/.ssh/authorized_keys;
Expand Down
2 changes: 1 addition & 1 deletion packer_templates/ubuntu/scripts/vagrant.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -eux

pubkey_url="https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub";
pubkey_url="https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub";
mkdir -p $HOME_DIR/.ssh;
if command -v wget >/dev/null 2>&1; then
wget --no-check-certificate "$pubkey_url" -O $HOME_DIR/.ssh/authorized_keys;
Expand Down

0 comments on commit 2136327

Please sign in to comment.