Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions smf/sled-agent/config-rss.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rack_secret_threshold = 1
# IP address of Internet gateway
#
# NOTE: In the lab, use "172.20.15.225"
# address = "192.168.1.1"
address = "172.20.11.1"

# MAC address of the internet gateway in the local network, i.e., of the above
# IP address.
Expand Down Expand Up @@ -73,7 +73,7 @@ gz_addresses = []
type = "nexus"
internal_ip = "fd00:1122:3344:0101::3"
# NOTE: In the lab, use "172.20.15.226"
external_ip = "192.168.1.20"
external_ip = "172.20.11.2"

# TODO(https://github.com/oxidecomputer/omicron/issues/732): Nexus
# should allocate Oximeter services.
Expand Down
2 changes: 1 addition & 1 deletion smf/sled-agent/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ zpools = [
#
# If empty, this will be equivalent to the first result from:
# $ dladm show-phys -p -o LINK
# data_link = "igb0"
data_link = "cxgbe0"

[log]
level = "info"
Expand Down
17 changes: 17 additions & 0 deletions tools/build_and_deploy_to_folgers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intended to be executed on a builder machine with ssh forwarding to folgers; e.g., Atrium.


set -eux

SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
cd "${SOURCE_DIR}/.."

TARGET="folgers"

echo "Packaging Omicron"
cargo run --release --bin omicron-package -- package

echo "Transferring Omicron to ${TARGET}"
rsync --delete -Paz out target/release/omicron-package package-manifest.toml root@${TARGET}:/root/omicron

echo "Deploying Omicron to ${TARGET}"
ssh root@${TARGET} "cd /root/omicron && ./omicron-package install"