mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-05-26 15:13:25 +00:00
Add some personal touches
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
"user": "clever",
|
||||
"password": "clever",
|
||||
"vm-name": "clever-devel",
|
||||
"scriptsDir": "scripts"
|
||||
"scriptsDir": "scripts",
|
||||
"assetsDir": "assets"
|
||||
},
|
||||
"builders": [{
|
||||
"type": "virtualbox-ovf",
|
||||
@@ -28,6 +29,16 @@
|
||||
"shutdown_command": "echo '{{user `password`}}' | sudo -S shutdown -P now"
|
||||
}],
|
||||
"provisioners": [{
|
||||
"type": "file",
|
||||
"source": "{{user `assetsDir`}}/background/",
|
||||
"destination": "/home/clever/Pictures"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"source": "{{user `assetsDir`}}/desktop/",
|
||||
"destination": "/home/clever/Desktop"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"script": "scripts/installSoftware.sh",
|
||||
"execute_command": "PASSWORD='{{user `password`}}' bash '{{.Path}}'"
|
||||
|
||||
Reference in New Issue
Block a user