Skip to content

Commit 0475553

Browse files
Update Dockerfile, configs, etc
This change updates the Dockerfile and test configs to account for the switch to cobra command which uses a double dash for the config flag. Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
1 parent d846bf5 commit 0475553

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ COPY --from=builder /opt/garm/providers.d/garm-provider-k8s /opt/garm/providers.
8888
COPY --from=builder /opt/garm/providers.d/garm-provider-cloudstack /opt/garm/providers.d/garm-provider-cloudstack
8989
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
9090

91-
ENTRYPOINT ["/bin/garm", "-config", "/etc/garm/config.toml"]
91+
ENTRYPOINT ["/bin/garm", "--config", "/etc/garm/config.toml"]

contrib/garm.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ After=multi-user.target
44

55
[Service]
66
Type=simple
7-
ExecStart=/usr/local/bin/garm -config /etc/garm/config.toml
7+
ExecStart=/usr/local/bin/garm --config /etc/garm/config.toml
88
ExecReload=/bin/kill -HUP $MAINPID
99
Restart=always
1010
RestartSec=5s

test/integration/config/garm.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ After=multi-user.target
44

55
[Service]
66
Type=simple
7-
ExecStart=/usr/local/bin/garm -config ${GARM_CONFIG_FILE}
7+
ExecStart=/usr/local/bin/garm --config ${GARM_CONFIG_FILE}
88
ExecReload=/bin/kill -HUP $MAINPID
99
Restart=always
1010
RestartSec=5s

0 commit comments

Comments
 (0)