Skip to content

Commit 92440a8

Browse files
committed
Fix component issues after all the changes in the core compontents
1 parent b5be9f5 commit 92440a8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

edgeless_cloud_offloading/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl Default for AwsConfig {
6868
fn default() -> Self {
6969
Self {
7070
region: "eu-west-1".to_string(),
71-
ami_id: "ami-035085b5449b0383a".to_string(),
71+
ami_id: "ami-035e603844e2f4e76".to_string(),
7272
instance_type: "t2.medium".to_string(),
7373
security_group_id: "sg-xxxxxxxxxxxxxxxxx".to_string(),
7474
}

edgeless_cloud_offloading/src/ec2-user-data.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ $EDGELESS_DIR/target/debug/edgeless_node_d -t $EDGELESS_DIR/target/debug/node.to
8282
sed -i.bak \
8383
-e "s#^\\(\\s*node_id\\s*=\\s*\\\"\\)[^\\\"]*\\(\\\".*\\)#\\1${NODE_ID}\\2#" \
8484
-e "s#^\\(\\s*node_register_url\\s*=\\s*\\\"\\)[^\\\"]*\\(\\\".*\\)#\\1http://${ORCHESTRATOR_URL}:7004\\2#" \
85-
-e 's#^\(\s*agent_url\s*=\s*"\)[^"]*\(".*\)#\1http://0.0.0.0:7021\2#' \
86-
-e "s#^\\(\\s*agent_url_announced\\s*=\\s*\\\"\\)[^\\\"]*\\(\\\".*\\)#\\1http://${NODE_URL}:7021\\2#" \
87-
-e 's#^\(\s*invocation_url\s*=\s*"\)[^"]*\(".*\)#\1http://0.0.0.0:7002\2#' \
88-
-e "s#^\\(\\s*invocation_url_announced\\s*=\\s*\\\"\\)[^\\\"]*\\(\\\".*\\)#\\1http://${NODE_URL}:7002\\2#" \
85+
-e 's#^\(\s*agent_url\s*=\s*"\)[^"]*\(".*\)#\1http://0.0.0.0:7005\2#' \
86+
-e "s#^\\(\\s*agent_url_announced\\s*=\\s*\\\"\\)[^\\\"]*\\(\\\".*\\)#\\1http://${NODE_URL}:7005\\2#" \
87+
-e 's#^\(\s*invocation_url\s*=\s*"\)[^"]*\(".*\)#\1http://0.0.0.0:7006\2#' \
88+
-e "s#^\\(\\s*invocation_url_announced\\s*=\\s*\\\"\\)[^\\\"]*\\(\\\".*\\)#\\1http://${NODE_URL}:7006\\2#" \
8989
-e "s#^\\(\\s*http_ingress_provider\\s*=\\s*\\\"\\)[^\\\"]*\\(\\\".*\\)#\\1http-ingress-${INSTANCE_ID}\\2#" \
9090
-e "s#^\\(\\s*http_egress_provider\\s*=\\s*\\\"\\)[^\\\"]*\\(\\\".*\\)#\\1http-egress-${INSTANCE_ID}\\2#" \
9191
-e "s#^\\(\\s*file_log_provider\\s*=\\s*\\\"\\)[^\\\"]*\\(\\\".*\\)#\\1file-log-${INSTANCE_ID}\\2#" \

edgeless_cloud_offloading/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use tokio::time::sleep;
1414
const DEFAULT_CONFIG_FILENAME: &str = "cloud_offloading.toml";
1515

1616
#[derive(Parser, Debug)]
17-
#[command(author, version, about, long_about = None)]
17+
#[command(author, about, long_about = None)]
1818
struct Args {
1919
/// Generate templates instead of running the services.
2020
#[arg(long, short)]

0 commit comments

Comments
 (0)