I wanted to try if I can easily create a disk image to run in an OpenStack cloud. That differs a bit from EC2 cloud, but there is a sort of compatible metadata server (169.254.169.254) that can be used as well. So I tried the result from build.sh live-image. So /etc/rc.d/ec2_init should be able to work with OpenStack (although putting the ssh key in root's authorized_keys may be a bit useless since it seems that ssh root logins are not allowed). But the detection in /etc/rc.conf.d/ec2_init would need to be adjusted (OpenStack is not ec2 but does have the metadata service). Another thing I noticed is that /etc/rc.d/resize_disklabel looks at the wrong MBR partition to check for NetBSD: it looks at partition 1 but should look at partition 0. At least on this image (from build.sh live-image). Maybe it is also used on other types of live images? It can't be about skipping the EFI partition because those occur on GPT disks only. -Olaf. -- ___ Q: "What's an anagram of Banach-Tarski?" -- Olaf "Rhialto" Seibert \X/ A: "Banach-Tarski Banach-Tarski." -- rhialto at falu dot nl
Attachment:
signature.asc
Description: PGP signature