示例#1
0
func startVolplugin(node remotessh.TestbedNode) error {
	logrus.Infof("Starting the volplugin on %q", node.GetName())
	return node.RunCommandBackground("sudo systemctl start volplugin")
}
示例#2
0
func startAPIServer(node remotessh.TestbedNode) error {
	logrus.Infof("Starting the apiserver on %q", node.GetName())
	err := node.RunCommandBackground("sudo systemctl start apiserver")
	logrus.Infof("Waiting for apiserver startup on %q", node.GetName())
	return err
}