-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jumpboxen can now be multihomed, creating a bastion host that spans outside (default) and inside networks. This should work well for people who isolate their Genesis environments via NAT devices.
- Loading branch information
1 parent
916f3a8
commit dd60e08
Showing
7 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Bug Fixes | ||
|
||
* Properly handles jumpboxes with more than one IP, defaulting to the internal | ||
IP for ssh and who addon. |
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
set -eu | ||
ip=$(bosh vms --json | jq -r '.Tables[0].Rows[0].ips') | ||
declare -a ips | ||
ips=( $(bosh vms --json | jq -r '.Tables[0].Rows[0].ips') ) | ||
|
||
describe "jumpbox ip: #C{$ip}" | ||
describe "jumpbox ip(s): #C{${ips[*]}}" |
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
params: | ||
inside_network: (( param "Please specify the name of the Bastion Network from your cloud-config" )) | ||
|
||
instance_groups: | ||
- name: jumpbox | ||
networks: | ||
- (( inline )) | ||
- default: [dns, gateway] | ||
- name: (( grab params.inside_network )) |