@emperor said:
Anyone knows which hosts have openBSD templates ? I dont remember if linveo had them.. Need to test something really quick
It's trivial to chain to a ramdisk installer, or you can just dd the image over an existing virtual disk and boot /bsd.rd and overwrite the disk out from under you.
@emperor said:
Anyone knows which hosts have openBSD templates ? I dont remember if linveo had them.. Need to test something really quick
It's trivial to chain to a ramdisk installer, or you can just dd the image over an existing virtual disk and boot /bsd.rd and overwrite the disk out from under you.
I though template install would have been faster, for quick testing and destroy/install again Thanks tho
There's one more thing. OpenBSD is not best suited to be installed on one big partition. It usually encourages users (with default layout in the installer) to create multiple separate partitions. This is also due to security reasons as explained here:
First of all there is a security benefit. Different partitions mean you can set different mount options for the partitions. Best example is that by default the partition /usr/local is mounted with the flag wxallowed. Only executables residing on this partition are able to circumvent the W^X mechanism of OpenBSD. Another good example is that all but the root partition are mounted with the flag nodev which prevents the creation of device special files on these partitions. Having different partitions can also make your life easier during the regular backup you take. It allows you to completely ignore those partitions that don’t belong into a backup. Like /tmp, /usr/src and /usr/obj.
I can imagine resizing those partitions to match each disk size customer picks could be a bit of a difficult.
@emperor said:
Anyone knows which hosts have openBSD templates ? I dont remember if linveo had them.. Need to test something really quick
It's trivial to chain to a ramdisk installer, or you can just dd the image over an existing virtual disk and boot /bsd.rd and overwrite the disk out from under you.
I though template install would have been faster, for quick testing and destroy/install again Thanks tho
@oloke said: However the installation from the official CD is not too hard nowadays.
Thanks for explanations. I have used openBSD in the past with linveo, and also couple more providers here, i just needed to try and run 2 scripts (one python and one sh) to see if they work on openBSD and to fix them if they dont. So i wanted to just install from template and test , fix and forget. I did this on TierHive thanks to cmeerw to pointing out, as i have still credits left
Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).
Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).
Do you recall what the main.cf error was?
And after resize_ffs, I should do something else to make performance better?
Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).
And after resize_ffs, I should do something else to make performance better?
resize_ffs doesn't grow the journal, so that's then smaller than it should be, and ideally you should recreate it. Unfortunately, that process is a bit complicated for the root file system. The general process is described in wapbl(4)
Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).
I have added this RC4 as a template and it is available for use.
Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).
I have added this RC4 as a template and it is available for use.
Thanks, just did a quick check, and it's working fine.
Comments
It's trivial to chain to a ramdisk installer, or you can just dd the image over an existing virtual disk and boot /bsd.rd and overwrite the disk out from under you.
"It's a hard life- to be a stick insect." - Karl Pilkington
Thanks.
ServerStatus , slackvpn , linux mirrors
Recommended Providers: Servarica(aff) | HostBRR(aff) | SolidVPS(aff) | RackNerd(aff) | KuroIT(aff) | AlphaVPS(aff) | HostDare(aff)
I though template install would have been faster, for quick testing and destroy/install again
Thanks tho
ServerStatus , slackvpn , linux mirrors
Recommended Providers: Servarica(aff) | HostBRR(aff) | SolidVPS(aff) | RackNerd(aff) | KuroIT(aff) | AlphaVPS(aff) | HostDare(aff)
I don't think I've saw OpenBSD templates anywhere really. However the installation from the official CD is not too hard nowadays.
Even on Linveo people seem to have installed from an ISO image:
https://btxx.org/posts/openbsd-linveo
And it seems the installation can even be done on a VPS that doesn't have custom ISO feature:
https://cosarara.me/blog/entry/14
There's one more thing. OpenBSD is not best suited to be installed on one big partition. It usually encourages users (with default layout in the installer) to create multiple separate partitions. This is also due to security reasons as explained here:
I can imagine resizing those partitions to match each disk size customer picks could be a bit of a difficult.
edit:
Maybe snapshots would be useful for that?
onidel - 🇦🇺🇳🇱🇸🇬🇻🇳🇺🇸 - High Availability - Hourly Billing - API support - BGP/BYOIP - SEV-SNP
Thanks for explanations. I have used openBSD in the past with linveo, and also couple more providers here, i just needed to try and run 2 scripts (one python and one sh) to see if they work on openBSD and to fix them if they dont. So i wanted to just install from template and test , fix and forget. I did this on TierHive thanks to cmeerw to pointing out, as i have still credits left
ServerStatus , slackvpn , linux mirrors
Recommended Providers: Servarica(aff) | HostBRR(aff) | SolidVPS(aff) | RackNerd(aff) | KuroIT(aff) | AlphaVPS(aff) | HostDare(aff)
Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).
Do you recall what the main.cf error was?
And after resize_ffs, I should do something else to make performance better?
That's the change you want to apply.
resize_ffs doesn't grow the journal, so that's then smaller than it should be, and ideally you should recreate it. Unfortunately, that process is a bit complicated for the root file system. The general process is described in wapbl(4)
TIL!
TIL x 2!
Thanks @cmeerw!
OpenBSD 7.9
I was going to be a smartass and say "Aww, no song- again.", but nope, there's a song.
"It's a hard life- to be a stick insect." - Karl Pilkington
I have added this RC4 as a template and it is available for use.
linveo.com | Shared Hosting | KVM VPS | Dedicated Servers
Thanks, just did a quick check, and it's working fine.