1
0
mirror of https://github.com/rancher/os.git synced 2025-09-23 11:30:49 +00:00

Add entrypoint

This commit is contained in:
Darren Shepherd
2015-04-04 12:25:12 -07:00
parent 1d10f81ac1
commit 3282192d97
2 changed files with 6 additions and 4 deletions

View File

@@ -16,8 +16,10 @@ func Convert(c *project.ServiceConfig) (*runconfig.Config, *runconfig.HostConfig
}
cmd, _ := shlex.Split(c.Command)
entrypoint, _ := shlex.Split(c.Entrypoint)
return &runconfig.Config{
Entrypoint: entrypoint,
Hostname: c.Hostname,
Domainname: c.DomainName,
User: c.User,