'Implements the BaseBomValidateDeployer interface.'

def do_create_vm(self, options):

    logging.info('Creating    "%s"    in    project    "%s"', options.deploy_google_instance, options.deploy_google_project)
    with open((self.ssh_key_path + '.pub'), 'r') as f:
        ssh_key = f.read().strip()
    if ssh_key.startswith('ssh-rsa'):
        ssh_key = ((self.hal_user + ':') + ssh_key)
    check_run_and_monitor('gcloud    compute    instances    create    --account    {gcloud_account}    --machine-type    n1-standard-4    --image-family    ubuntu-1404-lts    --image-project    ubuntu-os-cloud    --metadata    block-project-ssh-keys=TRUE,ssh-keys="{ssh_key}"    --project    {project}    --zone    {zone}    --network    {network}    --tags    {network_tags}    --scopes    {scopes}    {instance}'.format(gcloud_account=options.deploy_hal_google_service_account, project=options.deploy_google_project, zone=options.deploy_google_zone, scopes='compute-rw,storage-full,logging-write,monitoring', network=options.deploy_google_network, network_tags=options.deploy_google_tags, ssh_key=ssh_key, instance=options.deploy_google_instance))
