mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Added Pop!_OS support (#131)
* Added Pop!_OS support * Updated README.md * Added pretty name for Pop!_OS
This commit is contained in:
parent
b7493cee10
commit
9eb455c295
2 changed files with 46 additions and 0 deletions
10
README.md
10
README.md
|
@ -33,6 +33,7 @@ comprehensive support for macOS and Windows**.
|
|||
* [Ubuntu](https://ubuntu.com/desktop) and all the **[official Ubuntu flavours](https://ubuntu.com/download/flavours)**
|
||||
* [Fedora](https://getfedora.org/) & openSUSE ([Leap](https://get.opensuse.org/leap/), [Tumbleweed](https://get.opensuse.org/tumbleweed/),[MicroOS](https://microos.opensuse.org/))
|
||||
* [Linux Mint](https://linuxmint.com/) (Cinnamon, MATE, and XFCE)
|
||||
* [Pop!_OS](https://pop.system76.com/) (only with SPICE)
|
||||
* Full SPICE support including host/guest clipboard sharing
|
||||
* VirtIO-webdavd file sharing for Linux and Windows guests
|
||||
* VirtIO-9p file sharing for Linux and macOS guests
|
||||
|
@ -339,6 +340,15 @@ quickget opensuse microos
|
|||
quickemu --vm opensuse-microos
|
||||
```
|
||||
|
||||
## Pop!_OS Guest
|
||||
|
||||
`quickemu` supports Pop!_OS 21.04, but only installs with SPICE.
|
||||
|
||||
```bash
|
||||
quickget popos 21_04
|
||||
quickemu --vm popos-21_04.conf --display spice
|
||||
```
|
||||
|
||||
# SPICE
|
||||
|
||||
The following features are available while using the SPICE protocol:
|
||||
|
|
36
quickget
36
quickget
|
@ -18,6 +18,7 @@ function list_all() {
|
|||
linuxmint) DISPLAY_NAME="Linux Mint";;
|
||||
macos) DISPLAY_NAME="macOS";;
|
||||
opensuse) DISPLAY_NAME="OpenSUSE";;
|
||||
popos) DISPLAY_NAME="Pop!_OS";;
|
||||
ubuntu-budgie) DISPLAY_NAME="Ubuntu Budgie";;
|
||||
ubuntu-kylin) DISPLAY_NAME="Ubuntu Kylin";;
|
||||
ubuntu-mate) DISPLAY_NAME="Ubuntu MATE";;
|
||||
|
@ -45,6 +46,7 @@ function os_support() {
|
|||
lubuntu \
|
||||
macos \
|
||||
opensuse \
|
||||
popos \
|
||||
ubuntu \
|
||||
ubuntu-budgie \
|
||||
ubuntu-kylin \
|
||||
|
@ -87,6 +89,10 @@ function releases_macos() {
|
|||
big-sur
|
||||
}
|
||||
|
||||
function releases_popos() {
|
||||
echo 21_04
|
||||
}
|
||||
|
||||
function releases_ubuntu() {
|
||||
echo bionic \
|
||||
focal \
|
||||
|
@ -401,6 +407,9 @@ function make_vm_config() {
|
|||
elif [[ "${OS}" == "opensuse" ]]; then
|
||||
GUEST="linux"
|
||||
IMAGE_TYPE="iso"
|
||||
elif [[ "${OS}" == "popos" ]]; then
|
||||
GUEST="linux"
|
||||
IMAGE_TYPE="iso"
|
||||
elif [[ "${OS}" == *"ubuntu"* ]]; then
|
||||
GUEST="linux"
|
||||
IMAGE_TYPE="iso"
|
||||
|
@ -637,6 +646,29 @@ function get_macos() {
|
|||
start_vm_info
|
||||
}
|
||||
|
||||
function get_popos() {
|
||||
# For future releases, use dvd1 iso files.
|
||||
local URL=""
|
||||
local DL_BASE="https://pop-iso.sfo2.cdn.digitaloceanspaces.com"
|
||||
local VERSION=""
|
||||
|
||||
case ${RELEASE} in
|
||||
21_04) VERSION=${RELEASE//_/.};;
|
||||
*)
|
||||
echo "ERROR! Pop!_OS ${RELEASE} is not a supported release."
|
||||
releases_popos
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
ISO="pop-os_21.04_amd64_intel_9.iso"
|
||||
URL="${DL_BASE}/21.04/amd64/intel/9/${ISO}"
|
||||
make_vm_dir
|
||||
web_get ${URL} ${VM_PATH}
|
||||
make_vm_config ${ISO}
|
||||
start_vm_info
|
||||
}
|
||||
|
||||
function get_ubuntu() {
|
||||
local DEVEL="daily-live"
|
||||
local ISO=""
|
||||
|
@ -813,6 +845,8 @@ else
|
|||
releases_opensuse
|
||||
elif [ "${OS}" == "macos" ]; then
|
||||
releases_macos
|
||||
elif [ "${OS}" == "popos" ]; then
|
||||
releases_popos
|
||||
elif [[ "${OS}" == *"ubuntu"* ]]; then
|
||||
releases_ubuntu
|
||||
elif [ "${OS}" == "windows" ]; then
|
||||
|
@ -833,6 +867,8 @@ elif [[ "${OS}" == "linuxmint" ]]; then
|
|||
get_linuxmint
|
||||
elif [[ "${OS}" == "opensuse" ]]; then
|
||||
get_opensuse
|
||||
elif [[ "${OS}" == "popos" ]]; then
|
||||
get_popos
|
||||
elif [[ "${OS}" == *"ubuntu"* ]]; then
|
||||
get_ubuntu
|
||||
elif [ "${OS}" == "windows" ]; then
|
||||
|
|
Loading…
Reference in a new issue