Merge pull request #667 from ggiamarchi/openstack-dead-code

Openstack driver - Remove dead code
This commit is contained in:
Evan Hazlett 2015-03-09 22:39:09 -04:00
commit 2f853ee671
1 changed files with 0 additions and 13 deletions

View File

@ -746,19 +746,6 @@ func (d *Driver) waitForInstanceToStart() error {
return d.waitForSSHServer()
}
func (d *Driver) sshExec(commands []string) error {
for _, command := range commands {
sshCmd, err := d.GetSSHCommand(command)
if err != nil {
return err
}
if err := sshCmd.Run(); err != nil {
return err
}
}
return nil
}
func (d *Driver) sshKeyPath() string {
return path.Join(d.storePath, "id_rsa")
}