mirror of
https://github.com/gryf/boxpy.git
synced 2025-12-20 05:57:59 +01:00
Make 22.04 default version for ubuntu.
This commit is contained in:
2
box.py
2
box.py
@@ -1104,7 +1104,7 @@ DISTROS = {'ubuntu': {'username': 'ubuntu',
|
|||||||
'realname': 'ubuntu',
|
'realname': 'ubuntu',
|
||||||
'img_class': Ubuntu,
|
'img_class': Ubuntu,
|
||||||
'amd64': 'amd64',
|
'amd64': 'amd64',
|
||||||
'default_version': '20.04'},
|
'default_version': '22.04'},
|
||||||
'fedora': {'username': 'fedora',
|
'fedora': {'username': 'fedora',
|
||||||
'realname': 'fedora',
|
'realname': 'fedora',
|
||||||
'img_class': Fedora,
|
'img_class': Fedora,
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ runcmd:
|
|||||||
- [apt, purge, '-y', python3-pyasn1-modules]
|
- [apt, purge, '-y', python3-pyasn1-modules]
|
||||||
- [apt, purge, '-y', python3-simplejson]
|
- [apt, purge, '-y', python3-simplejson]
|
||||||
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/vmstrap"]
|
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/vmstrap"]
|
||||||
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh"]
|
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh -c"]
|
||||||
- [rm, -fr, /home/ubuntu/vmstrap]
|
- [rm, -fr, /home/ubuntu/vmstrap]
|
||||||
- [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"]
|
- [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"]
|
||||||
- [su, -, ubuntu, -c, "echo 'export HOST_IP=10.0.2.15' >> .bashrc"]
|
- [su, -, ubuntu, -c, "echo 'export HOST_IP=10.0.2.15' >> .bashrc"]
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ runcmd:
|
|||||||
- [apt, purge, '-y', python3-pyasn1-modules]
|
- [apt, purge, '-y', python3-pyasn1-modules]
|
||||||
- [apt, purge, '-y', python3-simplejson]
|
- [apt, purge, '-y', python3-simplejson]
|
||||||
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/vmstrap"]
|
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/vmstrap"]
|
||||||
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh"]
|
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh -c"]
|
||||||
- [rm, -fr, /home/ubuntu/vmstrap]
|
- [rm, -fr, /home/ubuntu/vmstrap]
|
||||||
- [su, -, ubuntu, -c, "echo 'export HOST_IP=192.168.10.10' >> .bashrc"]
|
- [su, -, ubuntu, -c, "echo 'export HOST_IP=192.168.10.10' >> .bashrc"]
|
||||||
- [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"]
|
- [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"]
|
||||||
@@ -186,3 +186,4 @@ boxpy_data:
|
|||||||
disk_size: 50GB
|
disk_size: 50GB
|
||||||
advanced:
|
advanced:
|
||||||
nic2: intnet
|
nic2: intnet
|
||||||
|
version: 20.04
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ runcmd:
|
|||||||
- [apt, purge, '-y', python3-pyasn1-modules]
|
- [apt, purge, '-y', python3-pyasn1-modules]
|
||||||
- [apt, purge, '-y', python3-simplejson]
|
- [apt, purge, '-y', python3-simplejson]
|
||||||
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/vmstrap"]
|
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/vmstrap"]
|
||||||
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh"]
|
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh -c"]
|
||||||
- [rm, -fr, /home/ubuntu/vmstrap]
|
- [rm, -fr, /home/ubuntu/vmstrap]
|
||||||
- [su, -, ubuntu, -c, "echo 'export HOST_IP=192.168.10.11' >> .bashrc"]
|
- [su, -, ubuntu, -c, "echo 'export HOST_IP=192.168.10.11' >> .bashrc"]
|
||||||
- [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"]
|
- [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"]
|
||||||
@@ -135,3 +135,4 @@ boxpy_data:
|
|||||||
disk_size: 50GB
|
disk_size: 50GB
|
||||||
advanced:
|
advanced:
|
||||||
nic2: intnet
|
nic2: intnet
|
||||||
|
version: 20.04
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
packages:
|
packages:
|
||||||
- build-essential
|
- build-essential
|
||||||
|
- exuberant-ctags
|
||||||
- gettext
|
- gettext
|
||||||
- libfontconfig1-dev
|
- libfontconfig1-dev
|
||||||
- libgif-dev
|
- libgif-dev
|
||||||
@@ -21,12 +22,16 @@ packages:
|
|||||||
- libxrender-dev
|
- libxrender-dev
|
||||||
- libxt-dev
|
- libxt-dev
|
||||||
- make
|
- make
|
||||||
|
- mc
|
||||||
- sharutils
|
- sharutils
|
||||||
|
- silversearcher-ag
|
||||||
|
- tmux
|
||||||
|
- vim-nox
|
||||||
- xinit
|
- xinit
|
||||||
runcmd:
|
runcmd:
|
||||||
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/wmaker -b experimental"]
|
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/wmaker -b experimental"]
|
||||||
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/vmstrap"]
|
- [su, -, ubuntu, -c, "git clone https://github.com/gryf/vmstrap"]
|
||||||
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh"]
|
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh -c"]
|
||||||
- [rm, -fr, /home/ubuntu/vmstrap]
|
- [rm, -fr, /home/ubuntu/vmstrap]
|
||||||
boxpy_data:
|
boxpy_data:
|
||||||
key: vm
|
key: vm
|
||||||
|
|||||||
Reference in New Issue
Block a user