keep deprecated flag stage1-image with rkt

pull/6/head
Wlodzimierz Borkowski 2016-04-01 09:32:10 +02:00
parent 07929972a3
commit 378ef9746e
1 changed files with 1 additions and 1 deletions

View File

@ -807,7 +807,7 @@ func (r *Runtime) preparePod(pod *api.Pod, pullSecrets []api.Secret) (string, *k
// Run 'rkt prepare' to get the rkt UUID.
cmds := []string{"prepare", "--quiet", "--pod-manifest", manifestFile.Name()}
if r.config.Stage1Image != "" {
cmds = append(cmds, "--stage1-image", r.config.Stage1Image)
cmds = append(cmds, "--stage1-path", r.config.Stage1Image)
}
output, err := r.runCommand(cmds...)
if err != nil {