Skip to content

Commit

Permalink
sunsetted -cloud upload templates, merged func into standard templates
Browse files Browse the repository at this point in the history
  • Loading branch information
InfamousSYN committed Mar 5, 2021
1 parent 4ab3a87 commit 6b1d3a3
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 422 deletions.
12 changes: 9 additions & 3 deletions templates/bionic64.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,18 @@
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'"
}],
"post-processors": [{
"post-processors": [[{
"type": "vagrant",
"keep_input_artifact": false,
"output": "build/{{user `box_name`}}.box",
"compression_level": 6,
"include": "{{user `metadata`}}",
"vagrantfile_template": "{{user `vagrantfile`}}"
}]
}
},
{
"type":"vagrant-cloud",
"access_token":"{{user `account_key`}}",
"box_tag":"{{user `account_name`}}/{{user `box_name`}}",
"version":"{{user `box_version`}}"
}]]
}
12 changes: 9 additions & 3 deletions templates/focal64.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,18 @@
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'"
}],
"post-processors": [{
"post-processors": [[{
"type": "vagrant",
"keep_input_artifact": false,
"output": "build/{{user `box_name`}}.box",
"compression_level": 6,
"include": "{{user `metadata`}}",
"vagrantfile_template": "{{user `vagrantfile`}}"
}]
}
},
{
"type":"vagrant-cloud",
"access_token":"{{user `account_key`}}",
"box_tag":"{{user `account_name`}}/{{user `box_name`}}",
"version":"{{user `box_version`}}"
}]]
}
127 changes: 0 additions & 127 deletions templates/kali-cloud.json

This file was deleted.

12 changes: 9 additions & 3 deletions templates/kali.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,18 @@
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'"
}],
"post-processors": [{
"post-processors": [[{
"type": "vagrant",
"keep_input_artifact": false,
"output": "build/{{user `box_name`}}.box",
"compression_level": 6,
"include": "{{user `metadata`}}",
"vagrantfile_template": "{{user `vagrantfile`}}"
}]
}
},
{
"type":"vagrant-cloud",
"access_token":"{{user `account_key`}}",
"box_tag":"{{user `account_name`}}/{{user `box_name`}}",
"version":"{{user `box_version`}}"
}]]
}
125 changes: 0 additions & 125 deletions templates/trusty64-cloud.json

This file was deleted.

14 changes: 10 additions & 4 deletions templates/trusty64.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"box_name" : "vagrant-trusty64",
"box_name" : "vagrant-trusty64-test",
"box_desc" : "Ubuntu 14.04.05 LTS Desktop AMD64",
"disk_size": "40960",
"root_username": "vagrant",
Expand Down Expand Up @@ -107,12 +107,18 @@
],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'"
}],
"post-processors": [{
"post-processors": [[{
"type": "vagrant",
"keep_input_artifact": false,
"output": "build/{{user `box_name`}}.box",
"compression_level": 6,
"include": "{{user `metadata`}}",
"vagrantfile_template": "{{user `vagrantfile`}}"
}]
}
},
{
"type":"vagrant-cloud",
"access_token":"{{user `account_key`}}",
"box_tag":"{{user `account_name`}}/{{user `box_name`}}",
"version":"{{user `box_version`}}"
}]]
}
Loading

0 comments on commit 6b1d3a3

Please sign in to comment.