Commit 406b55c6 by Bruno Bzeznik

Update openstack_memo.md

parent e2437ac2
# Source openstack env (from Killeen)
```
source ./ciment-nix-ci-openrc.sh
```
# Instanciate a new server
```
openstack server create --flavor m1.medium --image nixos-18.03-x86_64 --key-name bzizou-rsa --nic net-id=ciment-nix-ci-int-net,v4-fixed-ip=192.168.0.200 phyloalps
```
# Get a routed ip address
```
openstack floating ip create ciment-nix-ci-ext-net
```
# Set the ip address to the server
openstack server add floating ip phyloalps 10.1.135.13
\ No newline at end of file
```
openstack server add floating ip phyloalps 10.1.135.13
```
# Allow ssh
```
openstack security group create my-ssh
openstack security group rule create --ingress --dst-port 22 --protocol tcp my-ssh
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment