mirror of
https://github.com/hassio-addons/hassio-vagrant.git
synced 2025-05-03 18:41:30 +00:00
🔥 Removes audio support
This commit is contained in:
parent
a98abea9ff
commit
cb2cdd7579
2 changed files with 0 additions and 22 deletions
4
Vagrantfile
vendored
4
Vagrantfile
vendored
|
@ -139,10 +139,6 @@ module HassioCommunityAddons
|
|||
vbox.customize ['modifyvm', :id, '--natdnshostresolver1', 'on']
|
||||
vbox.customize ['modifyvm', :id, '--natdnsproxy1', 'on']
|
||||
vbox.customize ['modifyvm', :id, '--usb', 'on', '--usbehci', 'on']
|
||||
soundtype = ::Vagrant::Util::Platform.windows? ? 'dsound' : 'coreaudio'
|
||||
vbox.customize ['modifyvm', :id, '--audio', soundtype,
|
||||
'--audiocontroller', 'hda',
|
||||
'--audioin', 'on', '--audioout', 'on']
|
||||
end
|
||||
end
|
||||
# rubocop:enable Metrics/MethodLength
|
||||
|
|
18
provision.sh
18
provision.sh
|
@ -19,8 +19,6 @@ readonly HASSIO_INSTALLER="https://raw.githubusercontent.com/home-assistant/hass
|
|||
readonly DOCKER_DOWNLOAD="https://download.docker.com/linux"
|
||||
readonly NETDATA_INSTALLER="https://my-netdata.io/kickstart-static64.sh"
|
||||
readonly APT_REQUIREMENTS=(
|
||||
alsa
|
||||
alsa-utils
|
||||
apparmor-utils
|
||||
apt-transport-https
|
||||
avahi-daemon
|
||||
|
@ -30,7 +28,6 @@ readonly APT_REQUIREMENTS=(
|
|||
dkms
|
||||
jq
|
||||
network-manager
|
||||
oem-audio-hda-daily-dkms
|
||||
socat
|
||||
software-properties-common
|
||||
)
|
||||
|
@ -48,24 +45,10 @@ readonly APT_REQUIREMENTS=(
|
|||
# None
|
||||
# ------------------------------------------------------------------------------
|
||||
install_requirements() {
|
||||
add-apt-repository -y ppa:ubuntu-audio-dev/alsa-daily
|
||||
apt-get update
|
||||
apt-get install -y "${APT_REQUIREMENTS[@]}"
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Configures audio device
|
||||
#
|
||||
# Arguments:
|
||||
# None
|
||||
# Returns:
|
||||
# None
|
||||
# ------------------------------------------------------------------------------
|
||||
configure_audio() {
|
||||
gpasswd --add vagrant audio
|
||||
modprobe snd-hda-intel
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Installs the Docker engine
|
||||
#
|
||||
|
@ -185,7 +168,6 @@ show_post_up_message() {
|
|||
# ------------------------------------------------------------------------------
|
||||
main() {
|
||||
install_requirements
|
||||
configure_audio
|
||||
install_docker
|
||||
install_netdata
|
||||
install_portainer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue