Updated README with images, xchat configuration added

This commit is contained in:
Mark Korondi 2016-08-19 14:09:14 +02:00
parent ade6211167
commit 011035c467
10 changed files with 34 additions and 13 deletions

View File

@ -3,15 +3,16 @@ OpenStack upstream training virtual environment
This repository contains a Vagrant-based devstack setup. It installs the
necessary components in an Ubuntu machine along with basic GUI features to be
able to start hacking on OpenStack!
able to start hacking on OpenStack.
The output
----------
Screenshots
-----------
![Devstack running](docs/01.png)
![Geany with keystone code loaded](docs/02.png)
![git and XChat](docs/03.png)
!!! TODO !!!
Usage
-----
Building the Virtual Machine
----------------------------
You can either use vagrant to set up the environment, roll your own VirtualBox
image or just follow the installation script to manually set up devstack.
@ -38,7 +39,8 @@ and then creates the distributable box file.
### Learn how to easily set up devstack
* [install.sh](install.sh) - commands used during provisioning
* [install-base.sh](install-base.sh) and
[install-devstack.sh](install-devstack.sh) - commands used during provisioning
* [files/](files/) - configuration files copied into the vm
License

5
Vagrantfile vendored
View File

@ -5,6 +5,8 @@ Vagrant.configure(2) do |config|
vb.memory = "4096"
vb.cpus = 2
vb.name = "devstack-training"
vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
vb.customize ["modifyvm", :id, "--draganddrop", "bidirectional"]
end
config.vm.provision :file, source: "files/home", destination: "/"
config.vm.provision :shell, path: "install-base.sh", privileged: false,
@ -12,5 +14,6 @@ Vagrant.configure(2) do |config|
config.vm.provision :shell, path: "install-devstack.sh", privileged: false,
keep_color: true
config.vm.box_check_update = false
# config.ssh.forward_x11 = true
config.ssh.forward_x11 = true
config.vm.synced_folder File.expand_path('~'), '/home/vagrant/host'
end

BIN
docs/01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

BIN
docs/02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

BIN
docs/03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

View File

@ -14,14 +14,12 @@
<value type="int" value="3"/>
<value type="int" value="15"/>
<value type="int" value="4"/>
<value type="int" value="5"/>
<value type="int" value="6"/>
<value type="int" value="2"/>
<value type="int" value="5"/>
</property>
</property>
</property>
<property name="plugins" type="empty">
<property name="plugin-2" type="string" value="actions"/>
<property name="plugin-3" type="string" value="tasklist"/>
<property name="plugin-15" type="string" value="separator">
<property name="expand" type="bool" value="true"/>
@ -29,7 +27,12 @@
</property>
<property name="plugin-4" type="string" value="pager"/>
<property name="plugin-5" type="string" value="clock"/>
<property name="plugin-6" type="string" value="systray"/>
<property name="plugin-6" type="string" value="systray">
<property name="names-visible" type="array">
<value type="string" value="xchat"/>
</property>
<property name="show-frame" type="bool" value="false"/>
</property>
<property name="plugin-7" type="string" value="whiskermenu"/>
</property>
</channel>

View File

@ -0,0 +1,5 @@
N=FreeNode
E=IRC (Latin/Unicode Hybrid)
F=19
D=0
S=irc.freenode.net/6667

View File

@ -1,4 +1,5 @@
[[local|localrc]]
FLAT_INTERFACE=eth0
ADMIN_PASSWORD=admin
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD

View File

@ -1,7 +1,10 @@
#!/usr/bin/env bash
# TODO: select local server for updates
APT_MIRROR=http://mirror.switch.ch/ftp/mirror
export DEBIAN_FRONTEND=noninteractive
sudo sed -i "s@http://archive.ubuntu.com@$APT_MIRROR@g" /etc/apt/sources.list
sudo apt-get update
sudo apt-get dist-upgrade -y
@ -25,5 +28,8 @@ sudo apt-get install -y git gitk git-gui git-review tig
sudo apt-get clean
# Enable shared folder access
sudo adduser vagrant vboxsf
# Enable autologin
sudo cp -ar /vagrant/files/etc /

View File

@ -2,6 +2,7 @@
# Install devstack
DIR_DEVSTACK=/opt/devstack
sudo mkdir $DIR_DEVSTACK
sudo git clone https://git.openstack.org/openstack-dev/devstack $DIR_DEVSTACK
sudo cp -ar /vagrant/files/opt /
sudo chown -R vagrant:vagrant $DIR_DEVSTACK