Commit Graph

12 Commits

Author SHA1 Message Date
Gianluca Arbezzano
243777b6ef Fix NAT and make it working for Terraform and Vagrant
Commit b504810 introduced a NAT to make worker capable of reaching the
public internet via the provisioner.

But it also introduced a bug, it only works for the Vagrant setup as
Manny pointed out:

https://github.com/tinkerbell/sandbox/pull/33#issuecomment-759651035

This is an attempt to fix it

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2021-01-22 16:40:08 +01:00
Gaurav Gahlot
9dc63fbdb6
happy terraform fmt
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>
2021-01-12 12:28:06 +05:30
Gaurav Gahlot
60270f3164
add missing version constraints for providers - null, template
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>
2021-01-12 12:10:17 +05:30
Gianluca Arbezzano
22f6f22012 Cleanup not required cleanup sql script
Since we introduced migration the init file is not required and it is a
leftover.

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2020-12-10 14:42:24 +01:00
Gianluca Arbezzano
1c4f829252 Bump tinkerbell stack to newest versions
Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2020-11-12 17:12:42 +01:00
Manuel Mendez
731f9563fd Ensure all files pass ci-non-go.sh checks.
Signed-off-by: Manuel Mendez <mmendez@equinix.com>
2020-11-09 17:39:00 -05:00
mergify[bot]
72bf833702
Merge branch 'master' into feature/single-version-place 2020-09-28 16:41:16 +00:00
James W. Brinkerhoff
adfccfb1b0 Vagrant virtualbox worker env override fixes
* Change ENV var check to only validate the existence of the
  var in the local env
* Add VAGRANT_WORKER_SCALE env variable override to control
  GUI scaling for virtualbox

Signed-off-by: James W. Brinkerhoff <jwb@paravolve.net>
2020-09-23 07:40:38 -04:00
Gianluca Arbezzano
0c4f4d6f59 Single place for all the tink stack version
Tinkerbell is made of different components as we all know at this point.

Sandbox had those versions all over the places. This PR moves them as
part of the `envrc` file.

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2020-09-21 17:50:08 +02:00
Gianluca Arbezzano
bd63279e59 this is the right version of the terraform code
I copied a wrong version of the terraform code.

Sorry

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2020-09-10 16:42:00 +02:00
Gianluca Arbezzano
680e9bea98 New home for terraform setup (cp from tink repo)
This is coming from the tink repo.

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2020-09-10 16:04:48 +02:00
Gianluca Arbezzano
6ede8cb2e3 initial commit 2020-08-20 13:53:27 +02:00