tf.write("%s:%s\n" % (self.user_name, public_key))
tf.close()
create_cmd = self._GenerateCreateCommand(tf.name)
create_cmd.Issue()
def _CreateDependencies(self):
super(GceVirtualMachine, self)._CreateDependencies()
// GCE firewall rules are created for all instances in a network.
After Change
tf.write("%s:%s\n" % (self.user_name, public_key))
tf.close()
create_cmd = self._GenerateCreateCommand(tf.name)
_, stderr, retcode = create_cmd.Issue()
if (self.use_dedicated_host and retcode and
_INSUFFICIENT_HOST_CAPACITY in stderr):
logging.warning(