mirror of https://github.com/apache/cloudstack.git
Fix systemvm build scripts with the new location of the systemvm patches.
And wondering why they are included here and not in the systemvm.iso. Also giving the systemvm a little more space to fix the out-of-diskspace error during the build
This commit is contained in:
parent
7a7fb61a17
commit
789438651a
|
|
@ -1,7 +1,7 @@
|
||||||
Veewee::Definition.declare({
|
Veewee::Definition.declare({
|
||||||
:cpu_count => '1',
|
:cpu_count => '1',
|
||||||
:memory_size=> '256',
|
:memory_size=> '256',
|
||||||
:disk_size => '2000', :disk_format => 'VDI', :hostiocache => 'off',
|
:disk_size => '2500', :disk_format => 'VDI', :hostiocache => 'off',
|
||||||
:os_type_id => 'Debian',
|
:os_type_id => 'Debian',
|
||||||
:iso_file => "debian-7.0.0-i386-netinst.iso",
|
:iso_file => "debian-7.0.0-i386-netinst.iso",
|
||||||
:iso_src => "http://cdimage.debian.org/mirror/cdimage/archive/7.0.0/i386/iso-cd/debian-7.0.0-i386-netinst.iso",
|
:iso_src => "http://cdimage.debian.org/mirror/cdimage/archive/7.0.0/i386/iso-cd/debian-7.0.0-i386-netinst.iso",
|
||||||
|
|
|
||||||
|
|
@ -203,12 +203,12 @@ configure_services() {
|
||||||
cd /opt
|
cd /opt
|
||||||
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
||||||
tar -zxvf cloudstack.tar.gz
|
tar -zxvf cloudstack.tar.gz
|
||||||
cp -rv $snapshot_dir/patches/systemvm/debian/config/* /
|
cp -rv $snapshot_dir/systemvm/patches/debian/config/* /
|
||||||
cp -rv $snapshot_dir/patches/systemvm/debian/vpn/* /
|
cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* /
|
||||||
mkdir -p /usr/share/cloud/
|
mkdir -p /usr/share/cloud/
|
||||||
cd $snapshot_dir/patches/systemvm/debian/config
|
cd $snapshot_dir/systemvm/patches/debian/config
|
||||||
tar -cvf /usr/share/cloud/cloud-scripts.tar *
|
tar -cvf /usr/share/cloud/cloud-scripts.tar *
|
||||||
cd $snapshot_dir/patches/systemvm/debian/vpn
|
cd $snapshot_dir/systemvm/patches/debian/vpn
|
||||||
tar -rvf /usr/share/cloud/cloud-scripts.tar *
|
tar -rvf /usr/share/cloud/cloud-scripts.tar *
|
||||||
cd /opt
|
cd /opt
|
||||||
rm -fr $snapshot_dir cloudstack.tar.gz
|
rm -fr $snapshot_dir cloudstack.tar.gz
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
Veewee::Definition.declare({
|
Veewee::Definition.declare({
|
||||||
:cpu_count => '1',
|
:cpu_count => '1',
|
||||||
:memory_size=> '256',
|
:memory_size=> '256',
|
||||||
:disk_size => '2000', :disk_format => 'VDI', :hostiocache => 'off',
|
:disk_size => '2500', :disk_format => 'VDI', :hostiocache => 'off',
|
||||||
:os_type_id => 'Debian_64',
|
:os_type_id => 'Debian_64',
|
||||||
:iso_file => "debian-7.0.0-amd64-netinst.iso",
|
:iso_file => "debian-7.0.0-amd64-netinst.iso",
|
||||||
:iso_src => "http://cdimage.debian.org/mirror/cdimage/archive/7.0.0/amd64/iso-cd/debian-7.0.0-amd64-netinst.iso",
|
:iso_src => "http://cdimage.debian.org/mirror/cdimage/archive/7.0.0/amd64/iso-cd/debian-7.0.0-amd64-netinst.iso",
|
||||||
|
|
|
||||||
|
|
@ -203,12 +203,12 @@ configure_services() {
|
||||||
cd /opt
|
cd /opt
|
||||||
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
||||||
tar -zxvf cloudstack.tar.gz
|
tar -zxvf cloudstack.tar.gz
|
||||||
cp -rv $snapshot_dir/patches/systemvm/debian/config/* /
|
cp -rv $snapshot_dir/systemvm/patches/debian/config/* /
|
||||||
cp -rv $snapshot_dir/patches/systemvm/debian/vpn/* /
|
cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* /
|
||||||
mkdir -p /usr/share/cloud/
|
mkdir -p /usr/share/cloud/
|
||||||
cd $snapshot_dir/patches/systemvm/debian/config
|
cd $snapshot_dir/systemvm/patches/debian/config
|
||||||
tar -cvf /usr/share/cloud/cloud-scripts.tar *
|
tar -cvf /usr/share/cloud/cloud-scripts.tar *
|
||||||
cd $snapshot_dir/patches/systemvm/debian/vpn
|
cd $snapshot_dir/systemvm/patches/debian/vpn
|
||||||
tar -rvf /usr/share/cloud/cloud-scripts.tar *
|
tar -rvf /usr/share/cloud/cloud-scripts.tar *
|
||||||
cd /opt
|
cd /opt
|
||||||
rm -fr $snapshot_dir cloudstack.tar.gz
|
rm -fr $snapshot_dir cloudstack.tar.gz
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue