Create a brand new ed25519 key pair
ssh-keygen -o -a 100 -t ed25519
Get the pub key and put the result in your lxd default profile
cat ~/.ssh/ed25519.pub
lxc profile edit default
#!/bin/bash | |
# Be sure you modify according to your needs | |
# you need to update the {{}} items below; i.e. {{ public_address }} | |
cat << EOF > /etc/zuul/zuul.conf | |
[gearman] | |
server=127.0.0.1 | |
;port=4730 | |
;ssl_ca=/path/to/ca.pem |
#!/bin/bash | |
# nodepool configuration | |
cat << EOF > /etc/nodepool/nodepool.yaml | |
images-dir: /opt/dib_tmp | |
elements-dir: /etc/nodepool/elements | |
zookeeper-servers: | |
- host: zuul.local |
#!/bin/bash | |
cat << EOF > /root/multinode | |
# These initial groups are the only groups required to be modified. The | |
# additional groups are for more control of the environment. | |
[control] | |
# These hostname must be resolvable from your deployment host | |
infra01 | |
infra02 | |
infra03 |
root@zuul:~# zuul-scheduler -d | |
---------------------------------------- | |
Exception happened during processing of request from ('73.136.77.13', 56148) | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.5/dist-packages/paste/httpserver.py", line 304, in wsgi_execute | |
self.wsgi_start_response) | |
File "/usr/local/lib/python3.5/dist-packages/webob/dec.py", line 131, in __call__ | |
resp = self.call_func(req, *args, **self.kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/webob/dec.py", line 196, in call_func | |
return self.func(req, *args, **kwargs) |
#!/bin/bash | |
# Check what version of Ubuntu we have installed | |
source /etc/lsb-release | |
# Environment variables made available | |
# DISTRIB_ID=Ubuntu | |
# DISTRIB_RELEASE=14.04 | |
# DISTRIB_CODENAME=trusty |
#!/bin/bash | |
# Create a separate stack user to run DevStack with | |
sudo useradd -s /bin/bash -d /opt/stack -m stack | |
# Since this user will be making many changes to your system, it should have sudo privileges: | |
echo 'stack ALL=(ALL) NOPASSWD: ALL' | sudo tee -a /etc/sudoers.d/stack | |
echo 'Defaults:stack !requiretty' | sudo tee -a /etc/sudoers.d/stack | |
sudo su - stack |
# Set the prefix to ^a. | |
unbind C-b | |
set -g prefix ^a | |
bind a send-prefix | |
########################## | |
# Session Initialization # | |
########################## | |
set-option -g history-limit 30000 | |
################# | |
# Mouse Support # |
Create a brand new ed25519 key pair
ssh-keygen -o -a 100 -t ed25519
Get the pub key and put the result in your lxd default profile
cat ~/.ssh/ed25519.pub
lxc profile edit default
#!/bin/bash | |
set -x | |
if [ ! -f $HOME/.ssh/id_rsa ]; then | |
ssh-keygen -f $HOME/.ssh/id_rsa -t rsa -N '' | |
fi | |
sudo apt update |