Skip to content

Commit b309d49

Browse files
committed
fix container startup
1 parent 721d259 commit b309d49

File tree

16 files changed

+57
-54
lines changed

16 files changed

+57
-54
lines changed

molecule/test1/molecule.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
11+
# command: /sbin/init
1112
tmpfs:
1213
- /run
1314
- /tmp
@@ -19,7 +20,8 @@ platforms:
1920
pre_build_image: true
2021
groups:
2122
- testohpc_compute
22-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
23+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
24+
# command: /sbin/init
2325
tmpfs:
2426
- /run
2527
- /tmp
@@ -31,7 +33,8 @@ platforms:
3133
pre_build_image: true
3234
groups:
3335
- testohpc_compute
34-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
36+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
37+
# command: /sbin/init
3538
tmpfs:
3639
- /run
3740
- /tmp

molecule/test10/molecule.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ platforms:
88
groups:
99
- testohpc_login
1010
- initial
11-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
11+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1212
tmpfs:
1313
- /run
1414
- /tmp
@@ -21,7 +21,7 @@ platforms:
2121
groups:
2222
- testohpc_compute
2323
- initial
24-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
24+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2525
tmpfs:
2626
- /run
2727
- /tmp
@@ -34,7 +34,7 @@ platforms:
3434
groups:
3535
- testohpc_compute
3636
- initial
37-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
37+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3838
tmpfs:
3939
- /run
4040
- /tmp
@@ -46,7 +46,7 @@ platforms:
4646
pre_build_image: true
4747
groups: # NB this is NOT in the "testohpc_compute" so that it isn't added to slurm.conf initially
4848
- new
49-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
49+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
5050
tmpfs:
5151
- /run
5252
- /tmp

molecule/test11/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -21,7 +21,7 @@ platforms:
2121
- testohpc_compute
2222
- testohpc_compute_orig
2323
- testohpc_compute_new
24-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
24+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2525
tmpfs:
2626
- /run
2727
- /tmp
@@ -34,7 +34,7 @@ platforms:
3434
groups:
3535
- testohpc_compute
3636
- testohpc_compute_orig
37-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
37+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3838
tmpfs:
3939
- /run
4040
- /tmp

molecule/test12/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
22+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
34+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test13/molecule.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_control
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -20,7 +20,7 @@ platforms:
2020
pre_build_image: true
2121
groups:
2222
- testohpc_login
23-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
23+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2424
tmpfs:
2525
- /run
2626
- /tmp
@@ -33,7 +33,7 @@ platforms:
3333
pre_build_image: true
3434
groups:
3535
- testohpc_login
36-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
36+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3737
tmpfs:
3838
- /run
3939
- /tmp
@@ -46,7 +46,7 @@ platforms:
4646
pre_build_image: true
4747
groups:
4848
- testohpc_compute
49-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
49+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
5050
tmpfs:
5151
- /run
5252
- /tmp
@@ -58,7 +58,7 @@ platforms:
5858
pre_build_image: true
5959
groups:
6060
- testohpc_compute
61-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
61+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
6262
tmpfs:
6363
- /run
6464
- /tmp

molecule/test14/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
22+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
34+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test1b/molecule.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ platforms:
99
pre_build_image: true
1010
groups:
1111
- testohpc_login
12-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
12+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1313
tmpfs:
1414
- /run
1515
- /tmp
@@ -21,7 +21,7 @@ platforms:
2121
pre_build_image: true
2222
groups:
2323
- testohpc_compute
24-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
24+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2525
tmpfs:
2626
- /run
2727
- /tmp

molecule/test1c/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
22+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
34+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test2/molecule.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -20,7 +20,7 @@ platforms:
2020
groups:
2121
- testohpc_compute
2222
- testohpc_part1
23-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
23+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2424
tmpfs:
2525
- /run
2626
- /tmp
@@ -33,7 +33,7 @@ platforms:
3333
groups:
3434
- testohpc_compute
3535
- testohpc_part1
36-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
36+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3737
tmpfs:
3838
- /run
3939
- /tmp
@@ -46,7 +46,7 @@ platforms:
4646
groups:
4747
- testohpc_compute
4848
- testohpc_part2
49-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
49+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
5050
tmpfs:
5151
- /run
5252
- /tmp
@@ -59,7 +59,7 @@ platforms:
5959
groups:
6060
- testohpc_compute
6161
- testohpc_part2
62-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
62+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
6363
tmpfs:
6464
- /run
6565
- /tmp

molecule/test3/molecule.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -20,7 +20,7 @@ platforms:
2020
groups:
2121
- testohpc_compute
2222
- testohpc_grp1
23-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
23+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2424
tmpfs:
2525
- /run
2626
- /tmp
@@ -33,7 +33,7 @@ platforms:
3333
groups:
3434
- testohpc_compute
3535
- testohpc_grp1
36-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
36+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3737
tmpfs:
3838
- /run
3939
- /tmp
@@ -46,7 +46,7 @@ platforms:
4646
groups:
4747
- testohpc_compute
4848
- testohpc_grp2
49-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
49+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
5050
tmpfs:
5151
- /run
5252
- /tmp
@@ -59,7 +59,7 @@ platforms:
5959
groups:
6060
- testohpc_compute
6161
- testohpc_grp2
62-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
62+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
6363
tmpfs:
6464
- /run
6565
- /tmp

molecule/test4/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
22+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
34+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test5/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp
@@ -19,7 +19,7 @@ platforms:
1919
pre_build_image: true
2020
groups:
2121
- testohpc_compute
22-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
22+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
2323
tmpfs:
2424
- /run
2525
- /tmp
@@ -31,7 +31,7 @@ platforms:
3131
pre_build_image: true
3232
groups:
3333
- testohpc_compute
34-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
34+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
3535
tmpfs:
3636
- /run
3737
- /tmp

molecule/test6/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_login
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp

molecule/test7/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ platforms:
77
pre_build_image: true
88
groups:
99
- testohpc_compute
10-
command: 'dnf -y install systemd && /sbin/init' # not in RL9 image
10+
command: "/bin/bash -c 'dnf -y install systemd && /sbin/init'" # not in RL9 image
1111
tmpfs:
1212
- /run
1313
- /tmp

0 commit comments

Comments
 (0)