mirror of
https://github.com/rancher/os.git
synced 2025-08-02 07:24:28 +00:00
commit
c3476d7b00
@ -68,6 +68,15 @@ func NewConfig() *Config {
|
||||
"--pid=host " +
|
||||
"console",
|
||||
},
|
||||
{
|
||||
Cmd: []string{
|
||||
"--name", "ntp",
|
||||
"-d",
|
||||
"--privileged",
|
||||
"--net", "host",
|
||||
"ntp",
|
||||
},
|
||||
},
|
||||
},
|
||||
RescueContainer: &ContainerConfig{
|
||||
Cmd: "--name=rescue " +
|
||||
|
3
scripts/dockerimages/07-ntp
Normal file
3
scripts/dockerimages/07-ntp
Normal file
@ -0,0 +1,3 @@
|
||||
FROM console
|
||||
COPY scripts/dockerimages/scripts/ntp.sh /
|
||||
CMD ["/ntp.sh"]
|
3
scripts/dockerimages/scripts/ntp.sh
Executable file
3
scripts/dockerimages/scripts/ntp.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
ntpd -d
|
Loading…
Reference in New Issue
Block a user