Re: build.sh live-image [virtio disk hang]

2021-06-01 Thread Jaromír Doleček
Le mar. 1 juin 2021 à 18:35, Rhialto a écrit : > I re-tried the same thing (almost the same thing; the partition was > smaller) with an amd64/9.2 install in an OpenStack VM: extracting the > pkgsrc tar file using sysinst. It hung before finishing. > > So there is either some general disk I/O

Re: build.sh live-image [virtio disk hang]

2021-06-01 Thread Rhialto
On Mon 31 May 2021 at 13:22:50 +0200, Rhialto wrote: > However when extracting the pkgsrc tar file, it hung on disk I/O. > When I retried, the same happened. > After that, even the fsck got blocked on disk I/O. I re-tried the same thing (almost the same thing; the partition was smaller) with an

Re: build.sh live-image

2021-05-31 Thread Rhialto
On Mon 31 May 2021 at 13:22:50 +0200, Rhialto wrote: > Would the change below be ok? I'll be looking at some more things to > improve for OpenStack but this is a good start. I was expecting that the metadata-querying script at src/distrib/utils/embedded/files/ec2_init could easily have some

Re: build.sh live-image

2021-05-31 Thread Rhialto
On Sat 29 May 2021 at 22:55:33 +0200, Rhialto wrote: > 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

Re: build.sh live-image

2021-05-31 Thread Rhialto
On Sun 30 May 2021 at 16:32:30 +1200, Lloyd Parkes wrote: > On 30/05/21 8:55 am, Rhialto wrote: > > > 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. > >

Re: build.sh live-image

2021-05-29 Thread Lloyd Parkes
On 30/05/21 8:55 am, Rhialto wrote: 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. resize_disklabel is designed for use on the Raspberry Pi where the NetBSD partition

build.sh live-image

2021-05-29 Thread Rhialto
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