Skip to content

Commit

Permalink
switch to curl
Browse files Browse the repository at this point in the history
  • Loading branch information
HPPinata committed Aug 28, 2023
1 parent b07ffbb commit 1e6a289
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It creates a VM to run openSUSE MicroOS + docker-compose to use [this image](htt
```
until yum upgrade -y && yum autoremove -y; do sleep 5; done #update to get the correct guest-util ISO version
/opt/xensource/libexec/xen-cmdline --set-xen dom0_mem=2048M,max:2048M && reboot #set dom0 memory
wget https://raw.githubusercontent.com/HPPinata/Xen-Orchestra-Install/main/createXO.bash
curl -O https://raw.githubusercontent.com/HPPinata/Xen-Orchestra-Install/main/createXO.bash
cat createXO.bash #look at the things you download
bash createXO.bash
```
Expand Down
4 changes: 2 additions & 2 deletions combustion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mount /dev/sr1 /mnt
zypper rm -yu xen-tools-domU
/mnt/Linux/install.sh -d sles -m 15 -n

zypper in -y docker-compose wget zram-generator
zypper in -y docker-compose curl zram-generator
systemctl enable docker

cat <<'EOL' > /etc/systemd/zram-generator.conf
Expand All @@ -27,7 +27,7 @@ sed -i "s+SELINUX=enforcing+SELINUX=permissive+g" /etc/selinux/config

mkdir /var/orchestra
cd /var/orchestra
wget https://raw.githubusercontent.com/HPPinata/Xen-Orchestra-Install/main/compose.yml
curl -O https://raw.githubusercontent.com/HPPinata/Xen-Orchestra-Install/main/compose.yml

cat <<'EOL' > /var/orchestra/update.bash
#!/bin/bash
Expand Down
Binary file modified combustion.iso
Binary file not shown.
4 changes: 2 additions & 2 deletions createXO.bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ combustion-ISO () {
mkdir -p /var/opt/xen/ISO_Store
isoSR=$(xe sr-create name-label=LocalISO type=iso device-config:location=/var/opt/xen/ISO_Store device-config:legacy_mode=true content-type=iso)

wget https://raw.githubusercontent.com/HPPinata/Xen-Orchestra-Install/main/combustion.bash
curl -O https://raw.githubusercontent.com/HPPinata/Xen-Orchestra-Install/main/combustion.bash

while [ -z "$hashed_password" ]; do echo "Password previously unset or input inconsistent."; \
hashed_password="$(python3 -c 'import crypt; import getpass; \
Expand All @@ -32,7 +32,7 @@ combustion-ISO () {


disk-IMAGE () {
wget https://download.opensuse.org/tumbleweed/appliances/openSUSE-MicroOS.x86_64-kvm-and-xen.qcow2
curl -O https://download.opensuse.org/tumbleweed/appliances/openSUSE-MicroOS.x86_64-kvm-and-xen.qcow2
until yum install -y qemu-img --enablerepo base; do sleep 5; done
qemu-img convert -O vpc openSUSE-MicroOS.x86_64-kvm-and-xen.qcow2 SUSE-MicroOS.vhd
vhd-util repair -n SUSE-MicroOS.vhd
Expand Down

0 comments on commit 1e6a289

Please sign in to comment.