This file contains hidden or 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
#!/bin/bash | |
# create a git repo somewhere then copy this to the helpers folder in that repo then create an alias e.g | |
# mkdir -p ~/todos/ | |
# cd ~/todos/ | |
# git init . | |
# mkdir helpers | |
# put this file in helpers | |
# add alias to bashrc | |
# alias todo='~/todos/helpers/add_todo.sh' |
This file contains hidden or 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
# See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-linux-2-virtual-machine.html. | |
# If using windows/virtual-box to run amzn2 linux you can create the seed.iso with | |
vbox-img createiso -o "seed.iso" --volid=cidata --joliet --rock seedconfig/user-data seedconfig/meta-data | |
# This is not very well documented in virtualbox but is there alongside vboxmanage. | |
# This saves installing oscdimg.exe via the windows adk |
This file contains hidden or 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
cat > update-docker-registry-trust.yaml << END | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: update-docker-registry-trust | |
namespace: harbor | |
spec: | |
template: | |
spec: | |
containers: |
This file contains hidden or 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-ansible-rhel7-selinux-issue] $ /bin/sh -xe /tmp/hudson7405600183805422075.sh | |
+ export PACKER_LOG=1 | |
+ PACKER_LOG=1 | |
+ /usr/local/bin/packer build -var build_number=5 -var 'built_by=Andrew Walker' -on-error=abort -debug /var/jenkins/workspace/packer-ansible-rhel7-selinux-issue/packer.json | |
2017/04/28 07:02:29 [INFO] Packer version: 1.1.0-dev (23d2917b9850a4eb1f2edf742b68e82f7023f3b6) | |
2017/04/28 07:02:29 Packer Target OS/Arch: linux amd64 | |
2017/04/28 07:02:29 Built with Go Version: go1.8.1 | |
2017/04/28 07:02:29 Detected home directory from env var: /home/jenkins | |
2017/04/28 07:02:29 Using internal plugin for azure-arm | |
2017/04/28 07:02:29 Using internal plugin for hyperv-iso |