From 45da9deaf423414e425547a2ba8c9d18377458f8 Mon Sep 17 00:00:00 2001 From: Mark Korondi Date: Fri, 3 Jun 2016 14:23:49 +0200 Subject: [PATCH] Vagrant provisioning with XFCE, devstack, and some GUI apps and settings --- .gitignore | 3 + README.md | 48 ++++ Vagrantfile | 12 + create-training-box.sh | 6 + dist/.gitkeep | 0 .../lightdm/lightdm.conf.d/12-autologin.conf | 4 + .../.config/xfce4/panel/whiskermenu-7.rc | 54 +++++ .../vagrant/.config/xfce4/terminal/terminalrc | 5 + .../xfce-perchannel-xml/xfce4-desktop.xml | 41 ++++ .../xfce-perchannel-xml/xfce4-panel.xml | 35 +++ .../xfconf/xfce-perchannel-xml/xsettings.xml | 37 +++ files/home/vagrant/.selected_editor | 2 + files/home/vagrant/Desktop/firefox.desktop | 223 ++++++++++++++++++ files/home/vagrant/Desktop/geany.desktop | 139 +++++++++++ files/home/vagrant/Desktop/xchat.desktop | 25 ++ .../vagrant/Desktop/xfce4-terminal.desktop | 150 ++++++++++++ files/opt/devstack/local.conf | 5 + install.sh | 25 ++ 18 files changed, 814 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 Vagrantfile create mode 100755 create-training-box.sh create mode 100644 dist/.gitkeep create mode 100644 files/etc/lightdm/lightdm.conf.d/12-autologin.conf create mode 100644 files/home/vagrant/.config/xfce4/panel/whiskermenu-7.rc create mode 100644 files/home/vagrant/.config/xfce4/terminal/terminalrc create mode 100644 files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml create mode 100644 files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml create mode 100644 files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml create mode 100644 files/home/vagrant/.selected_editor create mode 100755 files/home/vagrant/Desktop/firefox.desktop create mode 100755 files/home/vagrant/Desktop/geany.desktop create mode 100755 files/home/vagrant/Desktop/xchat.desktop create mode 100755 files/home/vagrant/Desktop/xfce4-terminal.desktop create mode 100644 files/opt/devstack/local.conf create mode 100644 install.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d71be5d --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.vagrant +dist/** +!**/.gitkeep diff --git a/README.md b/README.md new file mode 100644 index 0000000..ef708a6 --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +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! + +The output +---------- + +!!! TODO !!! + +Usage +----- + +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. + +# Using Vagrant + +This method actually sets up everything including devstack. It takes a fair +amount of time (more than 30 minutes based on the internet connection) + +1. Set up VirtualBox +2. Set up Vagrant +3. `git clone **TODO**` +4. `cd openstack-upstream-training` +5. `vagrant up` +6. `vagrant reload` + +# Roll your own image + +Essentially the same procedure, with exporting an ova archive at the end which +then can be distributed and easily import into VirtualBox + +`./create-training-box.sh` is a handy tool that sets up everythong with vagrant +and then creates the distributable box file. + +# Learn how to easily set up devstack + +Browse ***TODO*** this repository to learn what these scripts do. + +License +------- +MIT + + + diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..31cf3bf --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,12 @@ +Vagrant.configure(2) do |config| + config.vm.hostname = "training" + config.vm.box = "ubuntu/trusty64" + config.vm.provider "virtualbox" do |vb| + vb.memory = "4096" + vb.cpus = 2 + vb.name = "devstack-training" + end + config.vm.provision "file", source: "files/home", destination: "/" + # config.vm.provision "shell", path: "install.sh" + config.ssh.forward_x11 = true +end diff --git a/create-training-box.sh b/create-training-box.sh new file mode 100755 index 0000000..656f580 --- /dev/null +++ b/create-training-box.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +vagrant up +vagrant halt +vboxmanage export devstack-training \ + -o "dist/devstack-training-$(date +%Y%m%d-%H%M).ova" diff --git a/dist/.gitkeep b/dist/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/files/etc/lightdm/lightdm.conf.d/12-autologin.conf b/files/etc/lightdm/lightdm.conf.d/12-autologin.conf new file mode 100644 index 0000000..041a08c --- /dev/null +++ b/files/etc/lightdm/lightdm.conf.d/12-autologin.conf @@ -0,0 +1,4 @@ +[SeatDefaults] +autologin-user=vagrant +user-session=xfce + diff --git a/files/home/vagrant/.config/xfce4/panel/whiskermenu-7.rc b/files/home/vagrant/.config/xfce4/panel/whiskermenu-7.rc new file mode 100644 index 0000000..aa60df3 --- /dev/null +++ b/files/home/vagrant/.config/xfce4/panel/whiskermenu-7.rc @@ -0,0 +1,54 @@ +favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop +recent= +button-title=Menu +button-icon=xfce4-whiskermenu +show-button-title=true +show-button-icon=true +launcher-show-name=true +launcher-show-description=true +item-icon-size=2 +hover-switch-category=false +category-icon-size=1 +load-hierarchy=false +favorites-in-recent=true +display-recent-default=false +position-search-alternate=false +position-commands-alternate=false +menu-width=400 +menu-height=500 +command-settings=xfce4-settings-manager +show-command-settings=true +command-lockscreen=xflock4 +show-command-lockscreen=true +command-switchuser=gdmflexiserver +show-command-switchuser=true +command-logout=xfce4-session-logout +show-command-logout=true +command-menueditor=menulibre +show-command-menueditor=true +search-actions=4 + +[action0] +name=Man Pages +pattern=# +command=exo-open --launch TerminalEmulator man %s +regex=false + +[action1] +name=Wikipedia +pattern=!w +command=exo-open --launch WebBrowser http://en.wikipedia.org/wiki/%u +regex=false + +[action2] +name=Run in Terminal +pattern=! +command=exo-open --launch TerminalEmulator %s +regex=false + +[action3] +name=Open URI +pattern=^(file|http|https):\\/\\/(.*)$ +command=exo-open \\0 +regex=true + diff --git a/files/home/vagrant/.config/xfce4/terminal/terminalrc b/files/home/vagrant/.config/xfce4/terminal/terminalrc new file mode 100644 index 0000000..06a95f9 --- /dev/null +++ b/files/home/vagrant/.config/xfce4/terminal/terminalrc @@ -0,0 +1,5 @@ +[Configuration] +ShortcutsNoMenukey=TRUE +ColorPalette=#000000;#cc0000;#4e9a06;#c4a000;#3465a4;#75507b;#06989a;#d3d7cf;#555753;#ef2929;#8ae234;#fce94f;#739fcf;#ad7fa8;#34e2e2;#eeeeec +ShortcutsNoMnemonics=TRUE + diff --git a/files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000..04631c7 --- /dev/null +++ b/files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..18c02c1 --- /dev/null +++ b/files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml new file mode 100644 index 0000000..6e84ce7 --- /dev/null +++ b/files/home/vagrant/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/files/home/vagrant/.selected_editor b/files/home/vagrant/.selected_editor new file mode 100644 index 0000000..3d54416 --- /dev/null +++ b/files/home/vagrant/.selected_editor @@ -0,0 +1,2 @@ +# Generated by /usr/bin/select-editor +SELECTED_EDITOR="/usr/bin/vim.gtk" diff --git a/files/home/vagrant/Desktop/firefox.desktop b/files/home/vagrant/Desktop/firefox.desktop new file mode 100755 index 0000000..f3f6f7a --- /dev/null +++ b/files/home/vagrant/Desktop/firefox.desktop @@ -0,0 +1,223 @@ +[Desktop Entry] +Version=1.0 +Name=Firefox Web Browser +Name[ar]=متصفح الويب فَيَرفُكْس +Name[ast]=Restolador web Firefox +Name[bn]=ফায়ারফক্স ওয়েব ব্রাউজার +Name[ca]=Navegador web Firefox +Name[cs]=Firefox Webový prohlížeč +Name[da]=Firefox - internetbrowser +Name[el]=Περιηγητής Firefox +Name[es]=Navegador web Firefox +Name[et]=Firefoxi veebibrauser +Name[fa]=مرورگر اینترنتی Firefox +Name[fi]=Firefox-selain +Name[fr]=Navigateur Web Firefox +Name[gl]=Navegador web Firefox +Name[he]=דפדפן האינטרנט Firefox +Name[hr]=Firefox web preglednik +Name[hu]=Firefox webböngésző +Name[it]=Firefox Browser Web +Name[ja]=Firefox ウェブ・ブラウザ +Name[ko]=Firefox 웹 브라우저 +Name[ku]=Geroka torê Firefox +Name[lt]=Firefox interneto naršyklė +Name[nb]=Firefox Nettleser +Name[nl]=Firefox webbrowser +Name[nn]=Firefox Nettlesar +Name[no]=Firefox Nettleser +Name[pl]=Przeglądarka WWW Firefox +Name[pt]=Firefox Navegador Web +Name[pt_BR]=Navegador Web Firefox +Name[ro]=Firefox – Navigator Internet +Name[ru]=Веб-браузер Firefox +Name[sk]=Firefox - internetový prehliadač +Name[sl]=Firefox spletni brskalnik +Name[sv]=Firefox webbläsare +Name[tr]=Firefox Web Tarayıcısı +Name[ug]=Firefox توركۆرگۈ +Name[uk]=Веб-браузер Firefox +Name[vi]=Trình duyệt web Firefox +Name[zh_CN]=Firefox 网络浏览器 +Name[zh_TW]=Firefox 網路瀏覽器 +Comment=Browse the World Wide Web +Comment[ar]=تصفح الشبكة العنكبوتية العالمية +Comment[ast]=Restola pela Rede +Comment[bn]=ইন্টারনেট ব্রাউজ করুন +Comment[ca]=Navegueu per la web +Comment[cs]=Prohlížení stránek World Wide Webu +Comment[da]=Surf på internettet +Comment[de]=Im Internet surfen +Comment[el]=Μπορείτε να περιηγηθείτε στο διαδίκτυο (Web) +Comment[es]=Navegue por la web +Comment[et]=Lehitse veebi +Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید +Comment[fi]=Selaa Internetin WWW-sivuja +Comment[fr]=Naviguer sur le Web +Comment[gl]=Navegar pola rede +Comment[he]=גלישה ברחבי האינטרנט +Comment[hr]=Pretražite web +Comment[hu]=A világháló böngészése +Comment[it]=Esplora il web +Comment[ja]=ウェブを閲覧します +Comment[ko]=웹을 돌아 다닙니다 +Comment[ku]=Li torê bigere +Comment[lt]=Naršykite internete +Comment[nb]=Surf på nettet +Comment[nl]=Verken het internet +Comment[nn]=Surf på nettet +Comment[no]=Surf på nettet +Comment[pl]=Przeglądanie stron WWW +Comment[pt]=Navegue na Internet +Comment[pt_BR]=Navegue na Internet +Comment[ro]=Navigați pe Internet +Comment[ru]=Доступ в Интернет +Comment[sk]=Prehliadanie internetu +Comment[sl]=Brskajte po spletu +Comment[sv]=Surfa på webben +Comment[tr]=İnternet'te Gezinin +Comment[ug]=دۇنيادىكى توربەتلەرنى كۆرگىلى بولىدۇ +Comment[uk]=Перегляд сторінок Інтернету +Comment[vi]=Để duyệt các trang web +Comment[zh_CN]=浏览互联网 +Comment[zh_TW]=瀏覽網際網路 +GenericName=Web Browser +GenericName[ar]=متصفح ويب +GenericName[ast]=Restolador Web +GenericName[bn]=ওয়েব ব্রাউজার +GenericName[ca]=Navegador web +GenericName[cs]=Webový prohlížeč +GenericName[da]=Webbrowser +GenericName[el]=Περιηγητής διαδικτύου +GenericName[es]=Navegador web +GenericName[et]=Veebibrauser +GenericName[fa]=مرورگر اینترنتی +GenericName[fi]=WWW-selain +GenericName[fr]=Navigateur Web +GenericName[gl]=Navegador Web +GenericName[he]=דפדפן אינטרנט +GenericName[hr]=Web preglednik +GenericName[hu]=Webböngésző +GenericName[it]=Browser web +GenericName[ja]=ウェブ・ブラウザ +GenericName[ko]=웹 브라우저 +GenericName[ku]=Geroka torê +GenericName[lt]=Interneto naršyklė +GenericName[nb]=Nettleser +GenericName[nl]=Webbrowser +GenericName[nn]=Nettlesar +GenericName[no]=Nettleser +GenericName[pl]=Przeglądarka WWW +GenericName[pt]=Navegador Web +GenericName[pt_BR]=Navegador Web +GenericName[ro]=Navigator Internet +GenericName[ru]=Веб-браузер +GenericName[sk]=Internetový prehliadač +GenericName[sl]=Spletni brskalnik +GenericName[sv]=Webbläsare +GenericName[tr]=Web Tarayıcı +GenericName[ug]=توركۆرگۈ +GenericName[uk]=Веб-браузер +GenericName[vi]=Trình duyệt Web +GenericName[zh_CN]=网络浏览器 +GenericName[zh_TW]=網路瀏覽器 +Keywords=Internet;WWW;Browser;Web;Explorer +Keywords[ar]=انترنت;إنترنت;متصفح;ويب;وب +Keywords[ast]=Internet;WWW;Restolador;Web;Esplorador +Keywords[ca]=Internet;WWW;Navegador;Web;Explorador;Explorer +Keywords[cs]=Internet;WWW;Prohlížeč;Web;Explorer +Keywords[da]=Internet;Internettet;WWW;Browser;Browse;Web;Surf;Nettet +Keywords[de]=Internet;WWW;Browser;Web;Explorer;Webseite;Site;surfen;online;browsen +Keywords[el]=Internet;WWW;Browser;Web;Explorer;Διαδίκτυο;Περιηγητής;Firefox;Φιρεφοχ;Ιντερνετ +Keywords[es]=Explorador;Internet;WWW +Keywords[fi]=Internet;WWW;Browser;Web;Explorer;selain;Internet-selain;internetselain;verkkoselain;netti;surffaa +Keywords[fr]=Internet;WWW;Browser;Web;Explorer;Fureteur;Surfer;Navigateur +Keywords[he]=דפדפן;אינטרנט;רשת;אתרים;אתר;פיירפוקס;מוזילה; +Keywords[hr]=Internet;WWW;preglednik;Web +Keywords[hu]=Internet;WWW;Böngésző;Web;Háló;Net;Explorer +Keywords[it]=Internet;WWW;Browser;Web;Navigatore +Keywords[is]=Internet;WWW;Vafri;Vefur;Netvafri;Flakk +Keywords[ja]=Internet;WWW;Web;インターネット;ブラウザ;ウェブ;エクスプローラ +Keywords[nb]=Internett;WWW;Nettleser;Explorer;Web;Browser;Nettside +Keywords[nl]=Internet;WWW;Browser;Web;Explorer;Verkenner;Website;Surfen;Online +Keywords[pt]=Internet;WWW;Browser;Web;Explorador;Navegador +Keywords[pt_BR]=Internet;WWW;Browser;Web;Explorador;Navegador +Keywords[ru]=Internet;WWW;Browser;Web;Explorer;интернет;браузер;веб;файрфокс;огнелис +Keywords[sk]=Internet;WWW;Prehliadač;Web;Explorer +Keywords[sl]=Internet;WWW;Browser;Web;Explorer;Brskalnik;Splet +Keywords[tr]=İnternet;WWW;Tarayıcı;Web;Gezgin;Web sitesi;Site;sörf;çevrimiçi;tara +Keywords[uk]=Internet;WWW;Browser;Web;Explorer;Інтернет;мережа;переглядач;оглядач;браузер;веб;файрфокс;вогнелис;перегляд +Keywords[vi]=Internet;WWW;Browser;Web;Explorer;Trình duyệt;Trang web +Keywords[zh_CN]=Internet;WWW;Browser;Web;Explorer;网页;浏览;上网;火狐;Firefox;ff;互联网;网站; +Keywords[zh_TW]=Internet;WWW;Browser;Web;Explorer;網際網路;網路;瀏覽器;上網;網頁;火狐 +Exec=firefox %u +Terminal=false +X-MultipleArgs=false +Type=Application +Icon=firefox +Categories=GNOME;GTK;Network;WebBrowser; +MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall; +StartupNotify=true +Actions=NewWindow;NewPrivateWindow; + +Name[en]=Browser + +[Desktop Action NewWindow] +Name=Open a New Window +Name[ar]=افتح نافذة جديدة +Name[ast]=Abrir una ventana nueva +Name[bn]=Abrir una ventana nueva +Name[ca]=Obre una finestra nova +Name[cs]=Otevřít nové okno +Name[da]=Åbn et nyt vindue +Name[de]=Ein neues Fenster öffnen +Name[el]=Άνοιγμα νέου παραθύρου +Name[es]=Abrir una ventana nueva +Name[fi]=Avaa uusi ikkuna +Name[fr]=Ouvrir une nouvelle fenêtre +Name[gl]=Abrir unha nova xanela +Name[he]=פתיחת חלון חדש +Name[hr]=Otvori novi prozor +Name[hu]=Új ablak nyitása +Name[it]=Apri una nuova finestra +Name[ja]=新しいウィンドウを開く +Name[ko]=새 창 열기 +Name[ku]=Paceyeke nû veke +Name[lt]=Atverti naują langą +Name[nb]=Åpne et nytt vindu +Name[nl]=Nieuw venster openen +Name[pt]=Abrir nova janela +Name[pt_BR]=Abrir nova janela +Name[ro]=Deschide o fereastră nouă +Name[ru]=Новое окно +Name[sk]=Otvoriť nové okno +Name[sl]=Odpri novo okno +Name[sv]=Öppna ett nytt fönster +Name[tr]=Yeni pencere aç +Name[ug]=يېڭى كۆزنەك ئېچىش +Name[uk]=Відкрити нове вікно +Name[vi]=Mở cửa sổ mới +Name[zh_CN]=新建窗口 +Name[zh_TW]=開啟新視窗 +Exec=firefox -new-window +OnlyShowIn=Unity; + +[Desktop Action NewPrivateWindow] +Name=Open a New Private Window +Name[ar]=افتح نافذة جديدة للتصفح الخاص +Name[ca]=Obre una finestra nova en mode d'incògnit +Name[de]=Ein neues privates Fenster öffnen +Name[es]=Abrir una ventana privada nueva +Name[fi]=Avaa uusi yksityinen ikkuna +Name[fr]=Ouvrir une nouvelle fenêtre de navigation privée +Name[he]=פתיחת חלון גלישה פרטית חדש +Name[hu]=Új privát ablak nyitása +Name[it]=Apri una nuova finestra anonima +Name[nb]=Åpne et nytt privat vindu +Name[ru]=Новое приватное окно +Name[sl]=Odpri novo okno zasebnega brskanja +Name[tr]=Yeni bir pencere aç +Name[uk]=Відкрити нове вікно у потайливому режимі +Name[zh_TW]=開啟新隱私瀏覽視窗 +Exec=firefox -private-window +OnlyShowIn=Unity; diff --git a/files/home/vagrant/Desktop/geany.desktop b/files/home/vagrant/Desktop/geany.desktop new file mode 100755 index 0000000..8df4f03 --- /dev/null +++ b/files/home/vagrant/Desktop/geany.desktop @@ -0,0 +1,139 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Geany +Name[ar]=Geany +Name[ast]=Geany +Name[be]=Geany +Name[bg]=Geany +Name[ca]=Geany +Name[cs]=Geany +Name[de]=Geany +Name[el]=Geany +Name[en_GB]=Geany +Name[es]=Geany +Name[et]=Geany +Name[eu]=Geany +Name[fa]=Geany +Name[fi]=Geany +Name[fr]=Geany +Name[gl]=Geany +Name[he]=Geany +Name[hi]=जीनि +Name[hu]=Geany +Name[id]=Geany +Name[it]=Geany +Name[ja]=Geany +Name[kk]=Geany +Name[ko]=지니 +Name[lb]=Geany +Name[lt]=Geany +Name[mn]=Жиени +Name[nl]=Geany +Name[nn]=Geany +Name[pl]=Geany +Name[pt]=Geany +Name[pt_BR]=Geany +Name[ro]=Geany +Name[ru]=Geany +Name[sk]=Geany +Name[sl]=Geany +Name[sr]=Geany +Name[sv]=Geany +Name[tr]=Geany +Name[uk]=Geany +Name[vi]=Geany +Name[zh_CN]=Geany +Name[zh_TW]=Geany +GenericName=Integrated Development Environment +GenericName[ar]=بيئة التطوير المتكاملة +GenericName[ast]=Entornu Integráu de Desarrollu +GenericName[be]=Інтэграванае асяроддзе распрацоўкі +GenericName[bg]=Вградена среда за разработка +GenericName[ca]=Entorn Integrat de Desenvolupament +GenericName[cs]=Integrované vývojové prostředí +GenericName[de]=Integrierte Entwicklungsumgebung +GenericName[el]=Ενιαίο Περιβάλλον Ανάπτυξης +GenericName[en_GB]=Integrated Development Environment +GenericName[es]=Entorno de desarrollo integrado +GenericName[et]=Integreeritud arenduskeskkond +GenericName[eu]=Garapen ingurune integratua +GenericName[fa]=محیط توسعه ی نرم افزار +GenericName[fi]=Integroitu ohjelmointiympäristö +GenericName[fr]=Environnement de Développement Intégré +GenericName[gl]=Contorno integrado de desenvolvemento +GenericName[he]=סביבת פיתוח משולבת +GenericName[hi]=एकीकृत विकास वातावरण +GenericName[hu]=Integrált Fejlesztői Felület +GenericName[id]=Integrated Development Environment +GenericName[it]=Ambiente di sviluppo integrato +GenericName[ja]=統合開発環境 +GenericName[kk]=Интеграцияланған өндіру ортасы +GenericName[ko]=통합 개발 환경 +GenericName[lb]=Integréiert Entwécklungsumgebung +GenericName[lt]=Integruota kūrimo aplinka +GenericName[nl]=Geintegreerde Ontwikkel Omgeving +GenericName[nn]=Integrert utviklingsmiljø +GenericName[pl]=Zintegrowane środowisko programistyczne +GenericName[pt]=Ambiente Integrado para Desenvolvimento +GenericName[pt_BR]=Ambiente de Desenvolvimento Integrado +GenericName[ro]=Mediu de dezvoltare +GenericName[ru]=Интегрированная среда разработки +GenericName[sk]=Integrované vývojové prostredie +GenericName[sl]=Vdelano razvojno okolje +GenericName[sr]=Интегрисано развојно окружење +GenericName[sv]=Integrerad utvecklingsmiljö +GenericName[tr]=Tümleşik Geliştirme Ortamı +GenericName[uk]=Об'єднане середовище розробки +GenericName[vi]=Môi trường Phát triển Hợp nhất +GenericName[zh_CN]=集成开发环境 +GenericName[zh_TW]=整合開發環境 +Comment=A fast and lightweight IDE using GTK2 +Comment[ar]=بيئة تطوير خفيفة وسريع تستخدم مكتبات GTK2 +Comment[ast]=Un IDE rápidu y llixeru basáu en GTK2 +Comment[be]=Хуткае і легкаважнае асяроддзе распрацоўкі, выкарыстоўваючае GTK2 +Comment[ca]=Un IDE ràpid i lleuger fet amb GTK2 +Comment[cs]=Rychlé a lehké IDE pro GTK2 +Comment[de]=Eine kleine und schnelle Entwicklungsumgebung für GTK2 +Comment[el]=Γρήγορο και ελαφρύ GTK2 IDE +Comment[en_GB]=A fast and lightweight IDE using GTK2 +Comment[es]=Un IDE rápido y ligero para GTK2 +Comment[et]=Kiire ja väike IDE GTK2 põhjal +Comment[eu]=GTK2 erabiltzen duen IDE azkar eta arina +Comment[fa]=A fast and lightweight IDE using GTK2 +Comment[fi]=Nopea ja kevyt GTK2-pohjainen ohjelmointiympäristö +Comment[fr]=Un EDI rapide et léger utilisant GTK2 +Comment[gl]=Un IDE rápido e lixeiro empregando GTK2 +Comment[he]=סביבת פיתוח משולבת קטנה וקלת משקל המשתמשת ב־GTK2 +Comment[hi]=एक तेज और हलका GTK2 का उपयोग कर आईडीई +Comment[hu]=Gyors és pehelykönnyű IDE GTK2 alapokon +Comment[id]=Sebuah IDE yang cepat dan ringan menggunakan GTK2 +Comment[it]=Un IDE veloce e leggero che usa GTK2 +Comment[ja]=GTK2 を用いた高速で軽量な IDE +Comment[kk]=GTK2 негізіндегі жылдам әрі жеңіл өндіру ортасы +Comment[ko]=빠르고 가벼운 GTK2 기반의 통합개발환경 +Comment[lb]=En klenge an schnelle IDE fir GTK2 +Comment[lt]=Greita ir supaprastinta kūrimo aplinka naudojanti GTK2 +Comment[nl]=Een snel en lichtgewicht, op GTK2 gebaseerde, IDE +Comment[nn]=Eit raskt og lett IDE som nyttar GTK2 +Comment[pl]=Szybkie i lekkie środowisko programistyczne oparte na GTK2 +Comment[pt]=Um IDE rápido e leve, escrito em GTK2 +Comment[pt_BR]=Um IDE rápido e leve usando GTK2 +Comment[ro]=Un IDE rapid folosind GTK2 +Comment[ru]=Быстрая и легковесная среда разработки, использующая GTK2 +Comment[sk]=Rýchle a ľahké IDE pre GTK2 +Comment[sl]=Hitro in lahkotno vdelano razvojno okolje z uporabo GTK2 +Comment[sr]=Брзо и лагано GTK развојно окружење +Comment[sv]=Ett snabbt och lättviktigt IDE som använder GTK2 +Comment[tr]=GTK2 kullanan hızlı ve hafif bir IDE +Comment[uk]=Швидке та легке графічне середовище, що використовує GTK2 +Comment[vi]=Một IDE nhanh và nhẹ nhàng dùng GTK2 +Comment[zh_CN]=GTK2 编写的轻快的 IDE +Comment[zh_TW]=一個快速且輕巧的 GTK2 整合開發環境 +Exec=geany %F +Icon=geany +Terminal=false +Categories=GTK;Development;IDE; +MimeType=text/plain;text/x-chdr;text/x-csrc;text/x-c++hdr;text/x-c++src;text/x-java;text/x-dsrc;text/x-pascal;text/x-perl;text/x-python;application/x-php;application/x-httpd-php3;application/x-httpd-php4;application/x-httpd-php5;application/xml;text/html;text/css;text/x-sql;text/x-diff; +StartupNotify=true +Name[en]=Editor diff --git a/files/home/vagrant/Desktop/xchat.desktop b/files/home/vagrant/Desktop/xchat.desktop new file mode 100755 index 0000000..c75d53e --- /dev/null +++ b/files/home/vagrant/Desktop/xchat.desktop @@ -0,0 +1,25 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=XChat IRC +Name[zh_TW]=網路清談 +Comment[de]=IRC-Client +Comment[es]=Aplicación de IRC +Comment[fi]=IRC-sovellus +Comment[fr]=Client IRC +Comment[hu]=IRC-kliens +Comment[lt]=IRC klientas +Comment[no]=IRC-klient +Comment[pt_BR]=Cliente de IRC +Comment[sl]=Odjemalec IRC +Comment[sv]=IRC-klient +Comment[ro]=Client de IRC +Comment[zh_TW]=X-Chat 聊天程式 +Comment=Chat with other people using Internet Relay Chat +Exec=sh -c "xchat --existing --url %U || exec xchat" +Icon=xchat +Terminal=false +Type=Application +Categories=Network; +StartupNotify=true +MimeType=x-scheme-handler/irc;x-scheme-handler/ircs; +Name[en]=IRC diff --git a/files/home/vagrant/Desktop/xfce4-terminal.desktop b/files/home/vagrant/Desktop/xfce4-terminal.desktop new file mode 100755 index 0000000..d675b3d --- /dev/null +++ b/files/home/vagrant/Desktop/xfce4-terminal.desktop @@ -0,0 +1,150 @@ +[Desktop Entry] +Version=1.0 +Name=Xfce Terminal +Name[ar]=طرفية إكسفس +Name[bg]=Xfce Терминал +Name[cs]=Terminál Xfce +Name[da]=Xfce Terminal +Name[de]=Xfce Terminal +Name[el]=Τερμαρικό XFCE +Name[en_AU]=Xfce Terminal +Name[en_GB]=Xfce Terminal +Name[es]=Terminal de Xfce +Name[eu]=Xfce terminala +Name[fi]=Xfce-pääte +Name[fr]=Terminal Xfce +Name[he]=מסוף Xfce +Name[hr]=Xfce terminal +Name[hu]=Xfce terminál +Name[id]=Terminal Xfce +Name[it]=Terminale di Xfce +Name[ja]=Xfce Terminal +Name[kk]=Xfce Terminal +Name[ko]=Xfce 터미널 +Name[nl]=Xfce terminal +Name[oc]=Terminal Xfce +Name[pl]=Terminal Xfce +Name[pt]=Terminal Xfce +Name[pt_BR]=Xfce terminal +Name[ro]=Terminal Xfce +Name[ru]=Терминал Xfce +Name[sr]=ИксФЦЕ терминал +Name[th]=เทอร์มินัลของ Xfce +Name[tr]=Xfce Terminal +Name[ug]=Xfce تېرمىنالى +Name[uk]=Термінал XFCE +Name[zh_CN]=Xfce 终端 +Name[zh_TW]=Xfce 終端機 +Comment=Terminal Emulator +Comment[ar]=محاكي طرفية +Comment[ast]=Emulador de terminal +Comment[be]=Эмулятар тэрмінала +Comment[bg]=Терминален Емулатор +Comment[ca]=Emulador de terminal +Comment[cs]=Emulátor terminálu +Comment[da]=Terminal Emulator +Comment[de]=Terminal-Programm +Comment[el]=Προσομοίωση τερματικού +Comment[en_AU]=Terminal Emulator +Comment[en_GB]=Terminal Emulator +Comment[eo]=Terminala Simulilo +Comment[es]=Emulador de terminal +Comment[et]=Terminaliemulaator +Comment[eu]=Terminal emuladorea +Comment[fi]=Pääte-emulaattori +Comment[fr]=Émulateur de terminal +Comment[gl]=Emulador de terminal +Comment[he]=מדמה מסוף +Comment[hr]=Emulator terminala +Comment[hu]=Terminálemulátor +Comment[id]=Emulator Terminal +Comment[it]=Emulatore di Terminale +Comment[ja]=ターミナルエミュレーター +Comment[kk]=Терминал эмуляторы +Comment[ko]=터미널 에뮬레이터 +Comment[lt]=Terminalo emuliatorius +Comment[lv]=Termināļa emulators +Comment[nb]=Teminalemulator +Comment[nl]=Terminalvenster +Comment[oc]=Emulator de terminal +Comment[pa]=ਟਰਮੀਨਲ ਈਮੂਲੇਟਰ +Comment[pl]=Emuluje działanie terminala X +Comment[pt]=Emulador de terminal +Comment[pt_BR]=Emulador de terminal +Comment[ro]=Emulator de terminal +Comment[ru]=Эмулятор терминала +Comment[si]=අග්‍ර අනුකාරක +Comment[sk]=Terminál Emulátor +Comment[sq]=Emulues Terminali +Comment[sr]=Емулатор терминала +Comment[sv]=Terminalemulator +Comment[te]=టెర్మినల్ ఎమ్యులేటర్ +Comment[th]=โปรแกรมจำลองเทอร์มินัล +Comment[tr]=Uçbirim Öykünücüsü +Comment[ug]=تېرمىنال Emulator +Comment[uk]=Емулятор терміналу +Comment[ur]=ٹرمنل ایمولیٹر +Comment[ur_PK]=ٹرمنل ایمولیٹر +Comment[vi]=Trình giả lập Terminal +Comment[zh_CN]=终端模拟器 +Comment[zh_TW]=終端機程式 +GenericName=Terminal Emulator +GenericName[ar]=محاكي طرفية +GenericName[ast]=Emulador de terminal +GenericName[be]=Эмулятар тэрмінала +GenericName[bg]=Терминален Емулатор +GenericName[ca]=Emulador de terminal +GenericName[cs]=Emulátor terminálu +GenericName[da]=Terminal Emulator +GenericName[de]=Terminal-Programm +GenericName[el]=Προσομοίωση τερματικού +GenericName[en_AU]=Terminal Emulator +GenericName[en_GB]=Terminal Emulator +GenericName[eo]=Terminala Simulilo +GenericName[es]=Emulador de terminal +GenericName[et]=Terminaliemulaator +GenericName[eu]=Terminal emuladorea +GenericName[fi]=Pääte-emulaattori +GenericName[fr]=Émulateur de terminal +GenericName[gl]=Emulador de terminal +GenericName[he]=מדמה מסוף +GenericName[hr]=Emulator terminala +GenericName[hu]=Terminálemulátor +GenericName[id]=Emulator Terminal +GenericName[it]=Emulatore di Terminale +GenericName[ja]=ターミナルエミュレーター +GenericName[kk]=Терминал эмуляторы +GenericName[ko]=터미널 에뮬레이터 +GenericName[lt]=Terminalo emuliatorius +GenericName[lv]=Termināļa emulators +GenericName[nb]=Teminalemulator +GenericName[nl]=Terminalvenster +GenericName[oc]=Emulator de terminal +GenericName[pa]=ਟਰਮੀਨਲ ਈਮੂਲੇਟਰ +GenericName[pl]=Emuluje działanie terminala X +GenericName[pt]=Emulador de terminal +GenericName[pt_BR]=Emulador de terminal +GenericName[ro]=Emulator de terminal +GenericName[ru]=Эмулятор терминала +GenericName[si]=අග්‍ර අනුකාරක +GenericName[sk]=Terminál Emulátor +GenericName[sq]=Emulues Terminali +GenericName[sr]=Емулатор терминала +GenericName[sv]=Terminalemulator +GenericName[te]=టెర్మినల్ ఎమ్యులేటర్ +GenericName[th]=โปรแกรมจำลองเทอร์มินัล +GenericName[tr]=Uçbirim Öykünücüsü +GenericName[ug]=تېرمىنال Emulator +GenericName[uk]=Емулятор терміналу +GenericName[ur]=ٹرمنل ایمولیٹر +GenericName[ur_PK]=ٹرمنل ایمولیٹر +GenericName[vi]=Trình giả lập Terminal +GenericName[zh_CN]=终端模拟器 +GenericName[zh_TW]=終端機程式 +Exec=xfce4-terminal +Icon=utilities-terminal +Terminal=false +Type=Application +Categories=GTK;System;TerminalEmulator; +StartupNotify=true +Name[en]=Terminal diff --git a/files/opt/devstack/local.conf b/files/opt/devstack/local.conf new file mode 100644 index 0000000..869feb7 --- /dev/null +++ b/files/opt/devstack/local.conf @@ -0,0 +1,5 @@ +[[local|localrc]] +ADMIN_PASSWORD=admin +DATABASE_PASSWORD=$ADMIN_PASSWORD +RABBIT_PASSWORD=$ADMIN_PASSWORD +SERVICE_PASSWORD=$ADMIN_PASSWORD diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..0f3d308 --- /dev/null +++ b/install.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash +sudo apt-get update +# Set up a desktop environment +sudo apt-get install -y xfce4 +sudo apt-get install -y lightdm lightdm-gtk-greeter \ + --no-install-recommends --no-install-suggests +# Install basic GUI applications +sudo apt-get install -y firefox xfce4-terminal vim-gtk geany xchat +# Install basic TUI applications +sudo apt-get install -y htop mc tmux +# Install git workflow related software +sudo apt-get install -y git gitk git-gui git-review tig + +sudo apt-get clean + +# Install devstack +DIR_DEVSTACK=/opt/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 +sudo chown -R vagrant:vagrant /opt/stack +$DIR_DEVSTACK/stack.sh + +# Enable autologin +sudo cp -ar /vagrant/files/etc /