diff --git a/builtin/provisioners/remote-exec/resource_provisioner.go b/builtin/provisioners/remote-exec/resource_provisioner.go index 04e2fe12a8..5eab3a0aea 100644 --- a/builtin/provisioners/remote-exec/resource_provisioner.go +++ b/builtin/provisioners/remote-exec/resource_provisioner.go @@ -17,19 +17,6 @@ import ( ) const ( - // DefaultUser is used if there is no default user given - DefaultUser = "root" - - // DefaultPort is used if there is no port given - DefaultPort = 22 - - // DefaultScriptPath is used as the path to copy the file to - // for remote execution if not provided otherwise. - DefaultScriptPath = "/tmp/script.sh" - - // DefaultTimeout is used if there is no timeout given - DefaultTimeout = 5 * time.Minute - // DefaultShebang is added at the top of the script file DefaultShebang = "#!/bin/sh" ) diff --git a/helper/ssh/provisioner.go b/helper/ssh/provisioner.go index e4844cc069..b9f29147ce 100644 --- a/helper/ssh/provisioner.go +++ b/helper/ssh/provisioner.go @@ -22,9 +22,6 @@ const ( // DefaultTimeout is used if there is no timeout given DefaultTimeout = 5 * time.Minute - - // DefaultShebang is added at the top of the script file - DefaultShebang = "#!/bin/sh" ) // SSHConfig is decoded from the ConnInfo of the resource. These