Downloads:

600

Downloads of v 1.0.0.20200206:

9

Last Update:

06 Feb 2020

Package Maintainer(s):

Software Author(s):

  • Canonical Ltd

Tags:

multipass VM Hyper-V virtualbox ubuntu

Multipass

Downloads:

600

Downloads of v 1.0.0.20200206:

9

Maintainer(s):

Software Author(s):

  • Canonical Ltd

Multipass

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

Requires hypervisor support

This package was rejected on 07 Mar 2020. The reviewer flcdrg has listed the following reason(s):

codingcoyote (maintainer) on 06 Feb 2020 18:49:37 +00:00:

User 'codingcoyote' (maintainer) submitted package.

chocolatey-ops (reviewer) on 06 Feb 2020 19:21:27 +00:00:

multipass has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • The iconUrl should be added if there is one. Please correct this in the nuspec, if applicable. More...

codingcoyote (maintainer) on 05 Mar 2020 00:15:40 +00:00:

Multipass 1.0.0.20200206 should no longer be necessary since 1.1.0 has been released/pushed. It contains the fix for localized versions of Windows that was added in 1.0.0.20200206

flcdrg (reviewer) on 06 Mar 2020 05:25:04 +00:00:

Confirming you'd like this version to be rejected?

codingcoyote (maintainer) on 06 Mar 2020 14:00:02 +00:00:

Correct

flcdrg (reviewer) on 07 Mar 2020 10:01:24 +00:00:

Rejecting as requested
Status Change - Changed status of package from 'submitted' to 'rejected'.

flcdrg (reviewer) on 07 Mar 2020 10:03:31 +00:00:

Rejecting as requested

Description

Package Specific

This package allows configuring multipass via either of the two supported hypervisors.
Hyper-V (and it's dependant Optional Windows Features) will be enabled if supported by your operating system. The version of Hyper-V supported by Multipass requires Windows 10 Professional/Enterprise build version 17134 or later.
Virtual Box must be preinstalled as it will not be installed with this package. If set to use Virtual Box, This package will set the driver to user Virtual Box, but other configuration may be necessary depending on your setup.

Package Parameters

The following package parameter can be set:

  • /HyperVisor: - Accepts 'VirtualBox' or 'Hyper-V' (default)

To pass parameters, use --params "''" (e.g. choco install multipass [other options] --params="'/HyperVisor:VirtualBox'").
To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.

Multipass

Multipass is a lightweight VM manager for Linux, Windows and macOS. It's designed for developers who want a fresh Ubuntu environment with a single command. It uses KVM on Linux, Hyper-V on Windows and HyperKit on macOS to run the VM with minimal overhead. It can also use VirtualBox on Windows and macOS. Multipass will fetch images for you and keep them up to date.

Since it supports metadata for cloud-init, you can simulate a small cloud deployment on your laptop or workstation.

Uninstall

This package attempts to clean up files related to multipass by running it's uninstall.exe, but will not uninstall the hypervisor.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$pp = Get-PackageParameters
if (!$pp['HyperVisor']) { $pp['HyperVisor'] = "Hyper-V" }
$winversion = Get-WmiObject Win32_OperatingSystem | Select-Object Caption, Version, BuildNumber
if ($pp['HyperVisor'] -match 'Hyper-*V') {
  if (((($winversion.Caption) -match '.*10.*Pro.*') -or (($winversion.Caption) -match '.*10.*Enterprise.*') -or (($winversion.Caption) -match '.*10.*Корпоративная.*')) -and ($winversion.BuildNumber -gt 17134)) {
    if ((Get-WindowsOptionalFeature -Online -FeatureName IIS-WebServer).State -eq "Disabled") {
      Write-Output "Installing Hyper-V"
      Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart
    }
  }
  else {
    throw "Hyper-V requires Windows 10 Pro/Enterprise with a build version > 17134"
  }
}
elseif (!$pp['HyperVisor'] -match 'Virtual\s*Box') {
  throw "$($pp['HyperVisor']) is not a valid HyperVisor for this machine."
}

$args = @{ 
  PackageName = $env:ChocolateyPackageName
  FileType = 'exe'
  SilentArgs = '/S'
  Url64bit = 'https://github.com/CanonicalLtd/multipass/releases/download/v1.0.0/multipass-1.0.0+win-win64.exe'
  Checksum64 = 'b1b6b609808abb8825c09f233b0a3b56192b9028a93dd053353437bfb2afc293e90e1e19dbf3ea4e1c2a0d7df2068459d591d581c2323a11283d94ff8ad6b602'
  ChecksumType64 = 'sha512'
}

Install-ChocolateyPackage  @args
  

Install-BinFile `
  -Name $env:ChocolateyPackageName `
  -Path "$env:ProgramFiles\Multipass\bin\multipass.exe" `

if ($pp['HyperVisor'] -match 'Virtual\s*Box') {

  Write-Host "Virtual-Box must be installed to use this option"
  & "$env:ProgramFiles\Multipass\bin\multipass.exe" set local.driver=virtualbox
}
tools\chocolateyuninstall.ps1
Uninstall-ChocolateyPackage `
  -PackageName $env:ChocolateyPackageName `
  -FileType 'exe' `
  -SilentArgs '/S' `
  -File "$env:ProgramFiles\Multipass\Uninstall.exe"

  Uninstall-BinFile -Name $env:ChocolateyPackageName -Path "$env:ProgramFiles\Multipass\bin\multipass.exe"

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Multipass 1.0.0 265 Wednesday, December 18, 2019 Approved
Multipass 0.9.0 21 Wednesday, December 11, 2019 Approved
Multipass 0.8.0 100 Friday, November 29, 2019 Approved

This package has no dependencies.

Discussion for the Multipass Package

Ground Rules:

  • This discussion is only about Multipass and the Multipass package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Multipass, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus