From nobody Sun Nov 28 21:31:31 2021 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0E13E18BA2EE for ; Sun, 28 Nov 2021 21:31:36 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from wilbur.contactoffice.com (wilbur.contactoffice.com [212.3.242.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4J2M9z1vhKz3KR9 for ; Sun, 28 Nov 2021 21:31:35 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id 613318DE for ; Sun, 28 Nov 2021 22:31:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638135094; s=20210208-e7xh; d=mailfence.com; i=sysadmin.lists@mailfence.com; h=Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:From; l=673; bh=n4mMarCvT9RIP+dUbHABxcKD19qorRO4kzwIb8ZRb5c=; b=ANL0lKewHA1WBLnK8Sl7lGssWa1/V6+zUhUdDomu5m5ujfBJioLn9sn0FnKXxj9G I8YAOU9dFYN4LYarfbYw+y91IlRoX7/Q50jLjHGzw2bmGYWxBnQrc8BGKyheapEg/O3 tTMdT/xqCxe3lc5J8NzfIwGjhvStvQ87bw2OQETb3gw3MlSD/h9T8hNpX0Ob/7X7a3v JAKgNmjoIdRa8PdApfwa49/8QU05YUHf5EzvtXd6CO0Qwc0nqVRGxY4CoTJXSPVxMl1 LW5vofsKvSwo9mst2v65UoYwOLPUX5xF+luk0ZPyuHIO4Z3k7HI1034qtJ0c3aCHndr xxFeai8wgg== Date: Sun, 28 Nov 2021 22:31:31 +0100 (CET) Message-ID: <1786593170.587714.1638135091567@ichabod.co-bxl> List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Bhyve CD-ROM To: Freebsd Virtualization X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:312482426 X-Rspamd-Queue-Id: 4J2M9z1vhKz3KR9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=ANL0lKew; dmarc=pass (policy=quarantine) header.from=mailfence.com; spf=pass (mx1.freebsd.org: domain of sysadmin.lists@mailfence.com designates 212.3.242.68 as permitted sender) smtp.mailfrom=sysadmin.lists@mailfence.com X-Spamd-Result: default: False [-4.09 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[mailfence.com:s=20210208-e7xh]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.3.242.64/26:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.3.242.68:from]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[mailfence.com:+]; DMARC_POLICY_ALLOW(-0.50)[mailfence.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:10753, ipnet:212.3.242.64/26, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_LOW(-0.10)[212.3.242.68:from] Reply-To: sysadmin.lists@mailfence.com From: Sysadmin Lists via freebsd-virtualization X-Original-From: Sysadmin Lists X-ThisMailContainsUnwantedMimeParts: N Hi. How do I attach a CD-ROM device (in this case an ISO file) to a VM without bhyve booting into it? bhyve -c 1 -m 512M -w -H \ -s 0,hostbridge \ -s 3,ahci-cd,/media/Debian-11.1.0-amd64-DVD-1.iso \ -s 4,virtio-blk,/dev/zvol/zroot/bhyve_vms/debianvm \ -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \ -s 31,lpc \ -l com1,stdio \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd debianvm /dev/zvol/zroot/bhyve_vms/debianvm already contains the installed OS, so now I want to boot into it while still having access to the packages on the ISO (to selectively install packages I want). -- Sent with https://mailfence.com Secure and private email