Upload
bob-sokol
View
59
Download
0
Embed Size (px)
Citation preview
GitGit is a free and open source distributed version control system designed to handle everything from small to very large projects
with speed and efficiency.
http://www.git-scm.com
Distributed
Small and Fast
Staging Area -> git commit -a
Encouraged to have multiple local branches
Easy Merges
Git Commandsgit add .
git commit -am "Enter in a message here"
git push
To learn more check out: GoTeaLeaf.com/books/git
The Templateexample.json
{ "variables": { "aws_access_key": "", "aws_secret_key": "" }, "builders": [{ "type": "amazon-ebs", "access_key": "{{user `aws_access_key`}}", "secret_key": "{{user `aws_secret_key`}}", "region": "us-east-1", "source_ami": "ami-de0d9eb7", "instance_type": "t1.micro", "ssh_username": "ubuntu", "ami_name": "packer-example {{timestamp}}" }]}
VMware Example{ "type": "vmware-iso", "iso_url": "{{user `iso_url`}}", "iso_checksum": "{{user `iso_checksum`}}", "iso_checksum_type": "{{user `iso_checksum_type`}}", "http_directory": ".", "boot_wait": "5s", "boot_command": [ "<enter><wait10><wait10>", "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/install-vmware.sh<enter><wait5>", "/usr/bin/curl -O http://{{.HTTPIP}}:{{.HTTPPort}}/poweroff.timer<enter><wait5>", "/usr/bin/bash ./install-vmware.sh<enter>" ], "disk_size": 20480, "ssh_username": "root", "ssh_password": "vagrant", "shutdown_command": "systemctl start poweroff.timer" }