mirror of
https://github.com/gryf/boxpy.git
synced 2025-12-19 05:30:18 +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',
|
||||
'img_class': Ubuntu,
|
||||
'amd64': 'amd64',
|
||||
'default_version': '20.04'},
|
||||
'default_version': '22.04'},
|
||||
'fedora': {'username': 'fedora',
|
||||
'realname': 'fedora',
|
||||
'img_class': Fedora,
|
||||
|
||||
@@ -29,7 +29,7 @@ runcmd:
|
||||
- [apt, purge, '-y', python3-pyasn1-modules]
|
||||
- [apt, purge, '-y', python3-simplejson]
|
||||
- [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]
|
||||
- [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"]
|
||||
- [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-simplejson]
|
||||
- [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]
|
||||
- [su, -, ubuntu, -c, "echo 'export HOST_IP=192.168.10.10' >> .bashrc"]
|
||||
- [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"]
|
||||
@@ -186,3 +186,4 @@ boxpy_data:
|
||||
disk_size: 50GB
|
||||
advanced:
|
||||
nic2: intnet
|
||||
version: 20.04
|
||||
|
||||
@@ -123,7 +123,7 @@ runcmd:
|
||||
- [apt, purge, '-y', python3-pyasn1-modules]
|
||||
- [apt, purge, '-y', python3-simplejson]
|
||||
- [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]
|
||||
- [su, -, ubuntu, -c, "echo 'export HOST_IP=192.168.10.11' >> .bashrc"]
|
||||
- [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"]
|
||||
@@ -135,3 +135,4 @@ boxpy_data:
|
||||
disk_size: 50GB
|
||||
advanced:
|
||||
nic2: intnet
|
||||
version: 20.04
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
packages:
|
||||
- build-essential
|
||||
- exuberant-ctags
|
||||
- gettext
|
||||
- libfontconfig1-dev
|
||||
- libgif-dev
|
||||
@@ -21,12 +22,16 @@ packages:
|
||||
- libxrender-dev
|
||||
- libxt-dev
|
||||
- make
|
||||
- mc
|
||||
- sharutils
|
||||
- silversearcher-ag
|
||||
- tmux
|
||||
- vim-nox
|
||||
- xinit
|
||||
runcmd:
|
||||
- [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, "vmstrap/bootstrap.sh"]
|
||||
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh -c"]
|
||||
- [rm, -fr, /home/ubuntu/vmstrap]
|
||||
boxpy_data:
|
||||
key: vm
|
||||
|
||||
Reference in New Issue
Block a user