Cleaning refactoring name errors x2
This commit is contained in:
parent
f31f154237
commit
15eb338596
|
@ -227,7 +227,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||||
},
|
},
|
||||||
remoteUpload: &stepRemoteUpload{
|
remoteUpload: &stepRemoteUpload{
|
||||||
Key: "iso_path",
|
Key: "iso_path",
|
||||||
Message: "Uploading ISO to remoteUpload machine...",
|
Message: "Uploading ISO to remote machine...",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||||
},
|
},
|
||||||
&stepRemoteUpload{
|
&stepRemoteUpload{
|
||||||
Key: "floppy_path",
|
Key: "floppy_path",
|
||||||
Message: "Uploading Floppy to remoteUpload machine...",
|
Message: "Uploading Floppy to remote machine...",
|
||||||
},
|
},
|
||||||
stepVerifyCache.remoteUpload,
|
stepVerifyCache.remoteUpload,
|
||||||
&stepCreateDisk{},
|
&stepCreateDisk{},
|
||||||
|
|
|
@ -55,7 +55,7 @@ func (s *stepVerifyCache) Run(state multistep.StateBag) multistep.StepAction {
|
||||||
ui.Message(remotePath)
|
ui.Message(remotePath)
|
||||||
|
|
||||||
if esx5.verifyChecksum(s.download.ChecksumType, s.download.Checksum, remotePath) {
|
if esx5.verifyChecksum(s.download.ChecksumType, s.download.Checksum, remotePath) {
|
||||||
ui.Message("Remote cache verified, skipping download/upload step")
|
ui.Message("Remote cache verified, skipping download/upload steps")
|
||||||
|
|
||||||
s.remoteUpload.Skip = true
|
s.remoteUpload.Skip = true
|
||||||
state.Put(s.download.ResultKey, remotePath)
|
state.Put(s.download.ResultKey, remotePath)
|
||||||
|
|
Loading…
Reference in New Issue