Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
Merged
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
9 changes: 9 additions & 0 deletions config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ func NewConfig() *Config {
"console",
},
},
{
Cmd: []string{
"--name", "ntp",
"-d",
"--privileged",
"--net", "host",
"ntp",
},
},
},
RescueContainer: ContainerConfig{
Cmd: []string{
Expand Down
3 changes: 3 additions & 0 deletions scripts/dockerimages/07-ntp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM console
COPY scripts/dockerimages/scripts/ntp.sh /
CMD ["/ntp.sh"]
3 changes: 3 additions & 0 deletions scripts/dockerimages/scripts/ntp.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

ntpd -d