Skip to content

Instantly share code, notes, and snippets.

View corrupt952's full-sized avatar
💬
Studying English

K@zuki. corrupt952

💬
Studying English
View GitHub Profile
$ sudo mount -o loop VBoxGuestAdditions.iso /mnt
$ wget -O VBoxGuestAdditions.iso {isoのURL}
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.synced_folder '.', '/app', type: :nfs
config.vm.provision "ruby", type: "ansible_local" do |ansible|
ansible.playbook = 'playbooks/ruby.yml'
ansible.install = true
end
config.vm.provision "ruby", type: "ansible_local" do |ansible|
ansible.playbook = 'playbooks/ruby.yml'
ansible.install = true
ansible.provisioning_path = '/app'
end
if [ "$(grep 'GOROOT' ${HOME}/.bashrc)" == "" ]; then
echo 'export GOROOT=/usr/lib/golang' >> ${HOME}/.bashrc
fi
echo 'export GOROOT=/usr/lib/golang' >> ${HOME}/.bashrc
resource "google_compute_instance" "default" {
name = "test"
machine_type = "f1-micro"
zone = "us-east1-a"
disk {
image = "centos-7-v20170719"
}
network_interface {
resource "google_compute_instance" "default" {
name = "test"
machine_type = "f1-micro"
zone = "us-east1-a"
disk {
image = "centos-7-v20170719"
}
network_interface {