blob: ce7527f86a2ae32056d39ee040f3cde37f5e2eff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
##############################################################################
# Copyright (c) 2017 Ericsson AB and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
set -e
# download and create image
#wget https://www.dropbox.com/s/focu44sh52li7fz/sfc_cloud.qcow2
glance image-create --name sfc --disk-format qcow2 --container-format bare --file SF.qcow2
#create flavor
openstack flavor create custom --ram 1500 --disk 10 --public
|