fix winrm password access in google compute

This commit is contained in:
Richard Nienaber 2018-04-16 10:56:26 +01:00
parent 545b2c4e0f
commit ec6f8264bf
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import (
"os"
"time"
commonhelper "github.com/hashicorp/packer/helper/common"
"github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer"
)
@ -112,6 +113,7 @@ func (s *StepCreateWindowsPassword) Run(_ context.Context, state multistep.State
}
state.Put("winrm_password", data.password)
commonhelper.SetSharedState("winrm_password", data.password)
return multistep.ActionContinue
}