From nobody Fri Jul 26 15:26:09 2024 X-Original-To: freebsd-questions@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 4WVs6B54ZFz5SHhb for ; Fri, 26 Jul 2024 15:26:10 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVs6B4CL9z43nV; Fri, 26 Jul 2024 15:26:10 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722007570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jmiYAL3mfsqV2/BQk0HzuA4GnMfZlZpgzmpTJCe9KjI=; b=Jq5PbIYAX4pvnZZKevzXkj4PIKSWPub3y8YhftDO1xWcHK0f1w8bdhwcQ42EzKtI7gdv0S 8tlsjCnTJNa8GtE0FZXIVvOwGOgonbCMDfMmWhV24fofgotHrmA9qvt/FAGYA4CggkcVpt rweC8DXEVwLNH7Va73fWIlw+HbN5sMkxani2blq0eJcefUpwpiw+QXddjjI7SZ8SRu9RA3 Qvg0SrnO7KrE8iOUTYnvt2DEaPVrVkKDlDkdwHx2VLlsSgvnmurBaAxwOH3mhp/0DhnaUg 76Y858QmPEO+xPJX52rEMu5xEOL+yESP6/zhiQtty8cGZC0xwVLF/VZBWNKzkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722007570; a=rsa-sha256; cv=none; b=h9rx9X9FnPKKFcumrjdb8MectuKGueQbuS+eiH0D8NNV0is56OL8O27GUM+nThlWxVbyHU T+FGTb6yQEJbCL8XALjXpvlf6pnpqaQPj+s1dvFZ4XtqK5pqyLZMzBHWWkzJn7NlDO6o1w Nc7jKHN/EUH96uRgH+qXkMIE0/GTy4wEJ70N8iREr19gan2NvkVanuYe9SDb0mTCaOI9D8 62pMplwRyLCl3VuruRqgQDbZEQiOBsAkL6Auz6m/xdpkIAMppsL6CQoP0OwuWuiqrDQTG9 VaoGFn3q2ZKsWBVZzg8g1fo0GKLKS53Az34nbpefqPq2dqkGQ1iZwRymLHaASg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722007570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jmiYAL3mfsqV2/BQk0HzuA4GnMfZlZpgzmpTJCe9KjI=; b=GIDtI8iPgaKJ3xGXFMyBdDg+xO1EeuQoLZ3x5Rh/IqDQ4voN3+ZzgSs8wBGOV2Zcc28aJ3 Uaddz/PjljFKizg7RRapxhtKMqjWk9hY1AK6hCyrRO1CZTRfGyC8sK+W6+XdniBiVKSECk ICq1p4mLuCwgXD7Vtuym7UO5sjBaAnts4eJJaCYR2TpASYsC3O4RlzhG9mTGPdChbfuDA1 0fkmPLKVlpkxwB6eSfDdT9dcTxbEnDQmXBa3U+kb0NkPJLli8Edcbr53op9vqKdSyn2rst ZtsBAdnjREMdoN93LG5fO3q5fzSUUE5GyJD+m6KpvNp1vYYbwiDVX6NFVQonvw== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WVs6B36V3zgkj; Fri, 26 Jul 2024 15:26:10 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 31D74184E95; Fri, 26 Jul 2024 17:26:09 +0200 (CEST) Date: Fri, 26 Jul 2024 17:26:09 +0200 From: Baptiste Daroussin To: mike tancsa Cc: Dave Cottlehuber , freebsd-questions Subject: Re: cloud init documentation ? Message-ID: References: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com> <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net> On Fri 26 Jul 10:45, mike tancsa wrote: > On 7/26/2024 9:59 AM, Dave Cottlehuber wrote: > > > I guess the step I am missing is download the FreeBSD VM image file. Do > > > *something* to it to make it fully cloudinit capable, and then create my > > > full seed.iso file.  What is that something ?  Is that the > > > net/clould-init package you mention in > > > https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/ ? > > yep, the image only needs cloud-init package and the service enabled. > > However, this adds ~ 350MiB of pythonic garbage into your image. > > > > Worth noting are the EC2 configs cperciva built: > > > > - cloudinit flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-cloud-init.conf > > - firstboot flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-base.conf > > > > the latter uses ec2-scripts which work quite well on non-ec2 with firstboot-freebsd-update and firstboot-pkgs. There is support for executing an archive or similar, I am hazy on the details buthttps://github.com/cperciva/ec2-scripts has the sources :-) > > > > This might be sufficient. > > 350M of python fun.... Hmmm. Gonna probably pass on that for this project > :)  As much as I would like to standardize I think I will do some combo of > the nuageinit and some manual image modifications. Its too bad nuageinit  > oesnt have the ability to just run a script at install time as that would > take care of a lot of things.  Are there any plans to extend nuageinit in > the future ? I must have missed part of the discussion, so I don't catch what is missing in nuageinit, but nuageinit should be able to work exactly as cloudinit is working, so if something is missing, yes we can extend nuageinit to support it. Best regards, Bapt