Last active
June 3, 2019 04:50
-
-
Save sapher/6f657a09331e044c1b8ea51d33530ea1 to your computer and use it in GitHub Desktop.
Revisions
-
sapher revised this gist
Aug 2, 2016 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -19,7 +19,6 @@ "ssh_password": "rancher", "headless" : false, "ssh_port": 22, "vm_name": "{{ user `vm_name` }}", "boot_wait": "5s", "vmx_data": { -
sapher created this gist
Aug 2, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,44 @@ { "variables": { "ros_version" : "v0.5.0", "iso_md5" : "467caa8394684ba54e8731aed8480652", "vm_name" : "rancher_image" }, "builders": [ { "type": "vmware-iso", "iso_url": "https://releases.rancher.com/os/{{ user `ros_version` }}/rancheros.iso", "guest_os_type": "other", "iso_checksum_type": "md5", "iso_checksum": "{{ user `iso_md5` }}", "output_directory": "output_rancheros", "ssh_wait_timeout": "30s", "shutdown_command": "sudo shutdown -h now", "disk_size": 8000, "ssh_username": "rancher", "ssh_password": "rancher", "headless" : false, "ssh_port": 22, "ssh_wait_timeout": "90m", "vm_name": "{{ user `vm_name` }}", "boot_wait": "5s", "vmx_data": { "memsize": "4096" } } ], "provisioners": [ { "type":"file", "source": "cloud-config.yml", "destination": "/tmp/cloud-config.yml" }, { "type": "shell", "inline": [ "ifconfig", "sudo ros install -d /dev/sda -f -c /tmp/cloud-config.yml -i rancher/os:{{ user `ros_version` }} --no-reboot" ] } ] }