Added openSUSE support (#113)

pull/116/head
Yannick Mauray 3 years ago committed by GitHub
parent c5cdb44325
commit b4b69b8574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      README.md
  2. 44
      quickget

@ -32,6 +32,7 @@ comprehensive support for macOS and Windows**.
* Windows 8.1, 10 and 11 including TPM 2.0 * Windows 8.1, 10 and 11 including TPM 2.0
* Ubuntu, and all the official flavours, supported by `quickget` * Ubuntu, and all the official flavours, supported by `quickget`
* Fedora, supported by `quickget` * Fedora, supported by `quickget`
* openSUSE Leap and Tumbleweed, supported by `quickget`
* Full SPICE support including host/guest clipboard sharing * Full SPICE support including host/guest clipboard sharing
* VirtIO-webdavd file sharing for Linux and Windows guests * VirtIO-webdavd file sharing for Linux and Windows guests
* VirtIO-9p file sharing for Linux and macOS guests * VirtIO-9p file sharing for Linux and macOS guests
@ -295,6 +296,25 @@ quickget fedora 34
quickemu --vm fedora-34.conf quickemu --vm fedora-34.conf
``` ```
## openSUSE Guest
`quickemu` supports openSUSE Leap and Tumbleweed.
For the installation to complete properly, on the "Installation Settings" screen,
you need to disable the "Update NVRAM" option.
On that same screen, you may also want to enable SSH, and open the SSH port.
```bash
quickget opensuse 15_3
quickemu --vm opensuse-15_3.conf
```
```bash
quickget opensuse tumbleweed
quickemu --vm opensuse-tumbleweed
```
# SPICE # SPICE
The following features are available while using the SPICE protocol: The following features are available while using the SPICE protocol:

@ -6,6 +6,7 @@ function os_support() {
kubuntu \ kubuntu \
lubuntu \ lubuntu \
macos \ macos \
opensuse \
ubuntu \ ubuntu \
ubuntu-budgie \ ubuntu-budgie \
ubuntu-kylin \ ubuntu-kylin \
@ -26,6 +27,14 @@ function releases_fedora(){
35_beta 35_beta
} }
function releases_opensuse(){
echo 15_0 \
15_1 \
15_2 \
15_3 \
tumbleweed
}
function releases_macos() { function releases_macos() {
echo high-sierra \ echo high-sierra \
mojave \ mojave \
@ -341,6 +350,9 @@ function make_vm_config() {
elif [[ "${OS}" == *"fedora"* ]]; then elif [[ "${OS}" == *"fedora"* ]]; then
GUEST="linux" GUEST="linux"
IMAGE_TYPE="iso" IMAGE_TYPE="iso"
elif [[ "${OS}" == *"opensuse"* ]]; then
GUEST="linux"
IMAGE_TYPE="iso"
elif [[ "${OS}" == *"ubuntu"* ]]; then elif [[ "${OS}" == *"ubuntu"* ]]; then
GUEST="linux" GUEST="linux"
IMAGE_TYPE="iso" IMAGE_TYPE="iso"
@ -450,6 +462,34 @@ function get_fedora() {
start_vm_info start_vm_info
} }
function get_opensuse() {
# For future releases, use dvd1 iso files.
local URL=""
local DL_BASE="https://download.opensuse.org/"
local VERSION=""
case ${RELEASE} in
15_0|15_1|15_2|15_3|tumbleweed) VERSION=${RELEASE//_/.};;
*)
echo "ERROR! openSUSE ${RELEASE} is not a supported release."
releases_opensuse
exit 1
;;
esac
if [ "${VERSION}" == "tumbleweed" ]; then
ISO="openSUSE-Tumbleweed-DVD-x86_64-Current.iso"
URL="${DL_BASE}/tumbleweed/iso/${ISO}"
else
ISO="openSUSE-Leap-${VERSION}-DVD-x86_64.iso"
URL="${DL_BASE}/distribution/leap/${VERSION}/iso/${ISO}"
fi
make_vm_dir
web_get ${URL} ${VM_PATH}
make_vm_config ${ISO}
start_vm_info
}
function get_macos() { function get_macos() {
local CWD="" local CWD=""
local MACRECOVERY="" local MACRECOVERY=""
@ -681,6 +721,8 @@ else
releases_freebsd releases_freebsd
elif [ "${OS}" == "fedora" ]; then elif [ "${OS}" == "fedora" ]; then
releases_fedora releases_fedora
elif [ "${OS}" == "opensuse" ]; then
releases_opensuse
elif [ "${OS}" == "macos" ]; then elif [ "${OS}" == "macos" ]; then
releases_macos releases_macos
elif [[ "${OS}" == *"ubuntu"* ]]; then elif [[ "${OS}" == *"ubuntu"* ]]; then
@ -699,6 +741,8 @@ elif [[ "${OS}" == *"freebsd" ]]; then
get_freebsd get_freebsd
elif [[ "${OS}" == *"fedora"* ]]; then elif [[ "${OS}" == *"fedora"* ]]; then
get_fedora get_fedora
elif [[ "${OS}" == *"opensuse"* ]]; then
get_opensuse
elif [[ "${OS}" == *"ubuntu"* ]]; then elif [[ "${OS}" == *"ubuntu"* ]]; then
get_ubuntu get_ubuntu
elif [ "${OS}" == "windows" ]; then elif [ "${OS}" == "windows" ]; then

Loading…
Cancel
Save