Versions in this module Expand all Collapse all v0 v0.0.12 Feb 8, 2021 Changes in this version + const DefaultOSType + const UnixOSType + const WindowsOSType + func GenerateElevatedRunner(command string, p ElevatedProvisioner) (uploadedPath string, err error) + type ElevatedProvisioner interface + Communicator func() packersdk.Communicator + ElevatedPassword func() string + ElevatedUser func() string + type GuestCommands struct + GuestOSType string + Sudo bool + func NewGuestCommands(osType string, sudo bool) (*GuestCommands, error) + func (g *GuestCommands) Chmod(path string, mode string) string + func (g *GuestCommands) CreateDir(path string) string + func (g *GuestCommands) MovePath(srcPath string, dstPath string) string + func (g *GuestCommands) RemoveDir(path string) string + func (g *GuestCommands) StatPath(path string) string