-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.sh
More file actions
executable file
·40 lines (31 loc) · 1.29 KB
/
start.sh
File metadata and controls
executable file
·40 lines (31 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
echo "Starting containers..."
set -e
RHEL_VERSION=${RHEL_VERSION:-9.3}
IMAGE_REPO=${IMAGE_REPO:-"quay.io/vemporop"}
add_args=""
mkdir -p ownership_vouchers
mkdir -p service_files
podman run ${add_args} --privileged -d --net host \
-v $PWD/manufacturing:/etc/fdo/manufacturing-server.conf.d:Z \
-v $PWD/keys:/etc/fdo/keys:Z \
-v $PWD/ownership_vouchers:/etc/fdo/ownership_vouchers \
--name fdo-manufacturing \
${IMAGE_REPO}/fdo-manufacturing-server:rhel${RHEL_VERSION}
podman run ${add_args} -d --net host \
-v $PWD/rendezvous:/etc/fdo/rendezvous-server.conf.d:Z \
-v $PWD/keys:/etc/fdo/keys:Z \
--name fdo-rendezvous \
${IMAGE_REPO}/fdo-rendezvous-server:rhel${RHEL_VERSION}
podman run ${add_args} -d --net host \
-v $PWD/owner-onboarding:/etc/fdo/owner-onboarding-server.conf.d:Z \
-v $PWD/keys:/etc/fdo/keys:Z \
-v $PWD/ownership_vouchers:/etc/fdo/ownership_vouchers:Z \
--name fdo-owner-onboarding \
${IMAGE_REPO}/fdo-owner-onboarding-server:rhel${RHEL_VERSION}
podman run ${add_args} -d --net host \
-v $PWD/serviceinfo-api:/etc/fdo/serviceinfo-api-server.conf.d:Z\
-v $PWD/keys:/etc/fdo/keys:Z \
-v $PWD/service_files:/etc/fdo/files:Z \
--name fdo-serviceinfo-api \
${IMAGE_REPO}/fdo-serviceinfo-api-server:rhel${RHEL_VERSION}