Merge pull request #23723 from intelsdi-x/stage1_image_rkt_deprecated_flag

keep deprecated flag stage1-image with rkt
This commit is contained in:
Jeff Lowdermilk 2016-04-08 20:53:09 -07:00
commit 2dd9bf535f

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 {