From owner-freebsd-questions@freebsd.org Wed Sep 2 21:17:35 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 500FE3CA49E for ; Wed, 2 Sep 2020 21:17:35 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BhcGQ1404z4Jtn for ; Wed, 2 Sep 2020 21:17:33 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 082LHPt9008081 for ; Wed, 2 Sep 2020 15:17:25 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: packer script for virtual box that works? To: FreeBSD Mailing List Message-ID: Date: Wed, 2 Sep 2020 15:13:50 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Wed, 02 Sep 2020 15:17:25 -0600 (MDT) X-Rspamd-Queue-Id: 4BhcGQ1404z4Jtn X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-1.56 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.987]; SUBJECT_ENDS_QUESTION(1.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.30)[-0.305]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 21:17:35 -0000 I've managed to get virtualbox installed and running, and using the gui I can create a ubuntu-18.04.5 server VM that seems to work. However, when I try to build a system from the same iso using packer, it starts up, goes through the install questions, then fails and reboots... in an endless cycle. Can anyone send me / post a packer .json spec for ubuntu-18.04.5 (or anything) that works? I suspect there are all sorts of missing directives that don't seem to be documented anywhere (I can't find a list of directives for builders in the packer info on the web); it took me forever to track down the "guest_os_type": "Ubuntu_64" directive. Thanks, Gary