-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from orlikoski/esxi_packer
Skadi 2019.2 Update
- Loading branch information
Showing
23 changed files
with
200 additions
and
619 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
date > /etc/box_build_time | ||
|
||
SSH_USER=$skadi | ||
SSH_PASS=$skadi | ||
SSH_USER_HOME=$/home/$SSH_USER | ||
|
||
# Set up sudo | ||
echo "==> Giving $SSH_USER sudo powers" | ||
echo "$SSH_USER ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/$SSH_USER | ||
chmod 440 /etc/sudoers.d/$SSH_USER | ||
|
||
# Fix stdin not being a tty | ||
if grep -q -E "^mesg n$" /root/.profile && sed -i "s/^mesg n$/tty -s \\&\\& mesg n/g" /root/.profile; then | ||
echo "==> Fixed stdin not being a tty." | ||
fi |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
packer build -force create_basebox.json | ||
packer build -force create_boxes.json | ||
vagrant.exe box add box/virtualbox/skadi_server-2019.2.box --name skadivm/skadi_server | ||
vagrant.exe box add box/vmware/skadi_server-2019.2.box --name skadivm/skadi_server |
Oops, something went wrong.