Skip to content
Snippets Groups Projects
Select Git revision
  • bdb42e39ece71eccd80eee436c108cb22fef9b1b
  • master default protected
  • rednatco-v2
  • base-pairs-ladder
  • rednatco
  • test
  • ntc-tube-uniform-color
  • ntc-tube-missing-atoms
  • restore-vertex-array-per-program
  • watlas2
  • dnatco_new
  • cleanup-old-nodejs
  • webmmb
  • fix_auth_seq_id
  • update_deps
  • ext_dev
  • ntc_balls
  • nci-2
  • plugin
  • bugfix-0.4.5
  • nci
  • v0.5.0-dev.1
  • v0.4.5
  • v0.4.4
  • v0.4.3
  • v0.4.2
  • v0.4.1
  • v0.4.0
  • v0.3.12
  • v0.3.11
  • v0.3.10
  • v0.3.9
  • v0.3.8
  • v0.3.7
  • v0.3.6
  • v0.3.5
  • v0.3.4
  • v0.3.3
  • v0.3.2
  • v0.3.1
  • v0.3.0
41 results

principal-axes.ts

Blame
  • upload.sh 696 B
    #! /bin/sh
    if [ -z "$1" ]; then
    	echo "Usage $0 image.raw [IMAGE_NAME]"
    	exit 0
    fi
    IMAGE="${2:-debian-9-x86_64_hadoop}"
    export OS_CLOUD="${OS_CLOUD:-openstack}"
    
    for id in `openstack image list --name "$IMAGE" --column ID -f value`; do
    	oldname="$IMAGE".`date --date=$created '+%Y-%m-%d'`
    	openstack image set --name $oldname --deactivate "$id" || :
    	openstack image delete "$id" || :
    done
    
    openstack image create --file "$1" --community --property default_user=debian --property hw_scsi_model=virtio-scsi --property hw_disk_bus=scsi --property hw_rng_model=virtio --property hw_qemu_guest_agent=yes --property os_require_quiesce=yes --property os_type=linux --property os_distro=debian "$IMAGE"