We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the documentation the sound device should default to false:
Specifies whether to enable the sound device when building the VM. Defaults to false.
false
However even though I have no sound key in my config, the VM has a sound device and complains about microphone access on every build:
Not sure if this is caused by Parallels itself, but if an audio device is added automatically the docs should be changed.
Build box from attached Buildfile
Packer v1.7.10
source "parallels-iso" "fedora-parallels-arm64" { boot_command = ["<leftCtrlOn><leftAltOn>2<leftCtrlOff><leftAltOff>e<down><down><leftCtrlOn>e<leftCtrlOff> inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks_fedora_parallels.cfg vga=792<leftCtrlOn>x<leftCtrlOff><wait>"] boot_wait = local.boot_wait disk_size = local.disk_size guest_os_type = "fedora-core" hard_drive_interface = "sata" http_directory = "packer/http" iso_checksum = local.arm64_iso_checksum iso_url = local.arm64_iso_url shutdown_command = "echo 'dev' | sudo -S /sbin/halt -h -p" ssh_password = "dev" ssh_port = 22 ssh_pty = "true" ssh_timeout = "10000s" ssh_username = "dev" memory = 4096 cpus = 4 parallels_tools_flavor = "lin-arm" }
macOS 12.3.1 on Mac mini M1 2020 (arm64) guest is Fedora 35
This is what prlctl does:
2022/05/10 14:39:57 Executing prlctl: []string{"create", "packer-fedora-parallels-arm64", "--distribution", "fedora-core", "--dst", "/Users/jenkins/workspace/workspace/rebuy-de_vagrant_PR-1600/output-fedora-parallels-arm64", "--no-hdd"} 2022/05/10 14:39:57 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--cpus", "4"} 2022/05/10 14:39:57 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--memsize", "4096"} 2022/05/10 14:39:57 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--startup-view", "headless"} 2022/05/10 14:39:58 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--on-shutdown", "close"} 2022/05/10 14:39:58 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--on-window-close", "keep-running"} 2022/05/10 14:39:58 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--auto-share-camera", "off"} 2022/05/10 14:39:58 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--smart-guard", "off"} 2022/05/10 14:39:59 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--shared-cloud", "off"} 2022/05/10 14:39:59 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--shared-profile", "off"} 2022/05/10 14:39:59 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--smart-mount", "off"} 2022/05/10 14:39:59 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--sh-app-guest-to-host", "off"} 2022/05/10 14:39:59 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--sh-app-host-to-guest", "off"} 2022/05/10 14:39:59 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--device-add", "hdd", "--type", "expand", "--size", "32212", "--iface", "sata"} 2022/05/10 14:40:00 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--device-bootorder", "hdd0 cdrom0 net0"} 2022/05/10 14:40:01 Executing prlctl: []string{"set", "packer-fedora-parallels-arm64", "--device-set", "cdrom0", "--image", "/Users/jenkins/.cache/packer_cache/4f225d2e01b2fd537a6643598fe65ff64b2d4a31.iso", "--enable", "--connect"} 2022/05/10 14:40:01 Executing prlctl: []string{"start", "packer-fedora-parallels-arm64"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Overview of the Issue
According to the documentation the sound device should default to false:
However even though I have no sound key in my config, the VM has a sound device and complains about microphone access on every build:
Not sure if this is caused by Parallels itself, but if an audio device is added automatically the docs should be changed.
Reproduction Steps
Build box from attached Buildfile
Plugin and Packer version
Simplified Packer Buildfile
Operating system and Environment details
macOS 12.3.1 on Mac mini M1 2020 (arm64)
guest is Fedora 35
Log Fragments and crash.log files
This is what prlctl does:
The text was updated successfully, but these errors were encountered: