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)** |   * [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/)) |   * [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) |   * [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 |   * 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 | ||||||
|  | @ -339,6 +340,15 @@ quickget opensuse microos | ||||||
| quickemu --vm 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 | # SPICE | ||||||
| 
 | 
 | ||||||
| The following features are available while using the SPICE protocol: | 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";; |       linuxmint) DISPLAY_NAME="Linux Mint";; | ||||||
|       macos) DISPLAY_NAME="macOS";; |       macos) DISPLAY_NAME="macOS";; | ||||||
|       opensuse) DISPLAY_NAME="OpenSUSE";; |       opensuse) DISPLAY_NAME="OpenSUSE";; | ||||||
|  |       popos) DISPLAY_NAME="Pop!_OS";; | ||||||
|       ubuntu-budgie) DISPLAY_NAME="Ubuntu Budgie";; |       ubuntu-budgie) DISPLAY_NAME="Ubuntu Budgie";; | ||||||
|       ubuntu-kylin) DISPLAY_NAME="Ubuntu Kylin";; |       ubuntu-kylin) DISPLAY_NAME="Ubuntu Kylin";; | ||||||
|       ubuntu-mate) DISPLAY_NAME="Ubuntu MATE";; |       ubuntu-mate) DISPLAY_NAME="Ubuntu MATE";; | ||||||
|  | @ -45,6 +46,7 @@ function os_support() { | ||||||
|     lubuntu \ |     lubuntu \ | ||||||
|     macos \ |     macos \ | ||||||
|     opensuse \ |     opensuse \ | ||||||
|  |     popos \ | ||||||
|     ubuntu \ |     ubuntu \ | ||||||
|     ubuntu-budgie \ |     ubuntu-budgie \ | ||||||
|     ubuntu-kylin \ |     ubuntu-kylin \ | ||||||
|  | @ -87,6 +89,10 @@ function releases_macos() { | ||||||
|     big-sur |     big-sur | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | function releases_popos() { | ||||||
|  |     echo 21_04 | ||||||
|  | } | ||||||
|  | 
 | ||||||
| function releases_ubuntu() { | function releases_ubuntu() { | ||||||
|     echo bionic \ |     echo bionic \ | ||||||
|     focal \ |     focal \ | ||||||
|  | @ -401,6 +407,9 @@ function make_vm_config() { | ||||||
|     elif [[ "${OS}" == "opensuse" ]]; then |     elif [[ "${OS}" == "opensuse" ]]; then | ||||||
|         GUEST="linux" |         GUEST="linux" | ||||||
|         IMAGE_TYPE="iso" |         IMAGE_TYPE="iso" | ||||||
|  |     elif [[ "${OS}" == "popos" ]]; then | ||||||
|  |         GUEST="linux" | ||||||
|  |         IMAGE_TYPE="iso" | ||||||
|     elif [[ "${OS}" == *"ubuntu"* ]]; then |     elif [[ "${OS}" == *"ubuntu"* ]]; then | ||||||
|         GUEST="linux" |         GUEST="linux" | ||||||
|         IMAGE_TYPE="iso" |         IMAGE_TYPE="iso" | ||||||
|  | @ -637,6 +646,29 @@ function get_macos() { | ||||||
|     start_vm_info |     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() { | function get_ubuntu() { | ||||||
|     local DEVEL="daily-live" |     local DEVEL="daily-live" | ||||||
|     local ISO="" |     local ISO="" | ||||||
|  | @ -813,6 +845,8 @@ else | ||||||
|         releases_opensuse |         releases_opensuse | ||||||
|     elif [ "${OS}" == "macos" ]; then |     elif [ "${OS}" == "macos" ]; then | ||||||
|         releases_macos |         releases_macos | ||||||
|  |     elif [ "${OS}" == "popos" ]; then | ||||||
|  |         releases_popos | ||||||
|     elif [[ "${OS}" == *"ubuntu"* ]]; then |     elif [[ "${OS}" == *"ubuntu"* ]]; then | ||||||
|         releases_ubuntu |         releases_ubuntu | ||||||
|     elif [ "${OS}" == "windows" ]; then |     elif [ "${OS}" == "windows" ]; then | ||||||
|  | @ -833,6 +867,8 @@ elif [[ "${OS}" == "linuxmint" ]]; then | ||||||
|     get_linuxmint |     get_linuxmint | ||||||
| elif [[ "${OS}" == "opensuse" ]]; then | elif [[ "${OS}" == "opensuse" ]]; then | ||||||
|     get_opensuse |     get_opensuse | ||||||
|  | elif [[ "${OS}" == "popos" ]]; then | ||||||
|  |     get_popos | ||||||
| elif [[ "${OS}" == *"ubuntu"* ]]; then | elif [[ "${OS}" == *"ubuntu"* ]]; then | ||||||
|     get_ubuntu |     get_ubuntu | ||||||
| elif [ "${OS}" == "windows" ]; then | elif [ "${OS}" == "windows" ]; then | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue