Comments (8)
Hello @NightTsarina, have you read this documentation https://docs.ovh.com/gb/en/dedicated/bringyourownimage/ ?
There is a sub-part about API usage that may be helpful for you to work on automation.
Feel free to ask our community for help on https://community.ovh.com/en/.
Best,
The OVHcloud Guides Team
from docs.
Hello @NightTsarina, have you read this documentation https://docs.ovh.com/gb/en/dedicated/bringyourownimage/ ? There is a sub-part about API usage that may be helpful for you to work on automation. Feel free to ask our community for help on https://community.ovh.com/en/. Best, The OVHcloud Guides Team
Hi!
Yes, I have checked that doc and also the community pages, but it does not say anything about how to create the image. I know how to upload and use the image, but where do I find an image to use?
from docs.
Hi @NightTsarina
The purpose of the bring-your-own-image feature is to let customers use their own image, usually custom ones or images provided on distributions websites such as Ubuntu, Red Hat, etc. We don't provide any tool to create or customize an image.
I'm sorry the documentation team won't be able to give you more guidance. I suggest you create either a support ticket or a new thread on the community pages, so that the community can help you with your use case.
Best,
The OVHcloud Guides Team
from docs.
If your request is to find the ISO of the OS you want to install and generate a custom image in qcow2 format, we currently don't have a documentation to address it but we're thinking about it.
Best,
The OVHcloud Guides Team
from docs.
Right, that is the problem. I have an ISO that has an interactive installer, but that won't work here. I can convert that to qcow2, but that won't work, because it requires user intervention.. So what I would like is to know what does the OVH system expect from that image and how is it deployed into the server... I have not been able to find any info at all about that.
Maybe you are just running the qcow2 image inside QEMU, and assuming it will automatically install the system? That'd be great, but I'd need to know at least a bit about the runtime environment and how I can pass parameters or configuration to it, so I can create the scripts to drive the install..
On the other hand, the fact that you seem to be managing partitions independently tells me that maybe you are just DD-ing the image onto the harddrive, so then what I need to prepare is just a snapshot of a running system instead of an installer...
These are the kind of questions that I think need to be answered in the documentation so sysadmins can build on top of your great service.
Hope this clarifies my request. Thanks again
from docs.
Hi,
Maybe the documentation is lacking an introductory sentence. BYOI expects an image of your disk containing the OS.
On the other hand, the fact that you seem to be managing partitions independently
We do not touch partitions apart from the configdrive
one which we create if your image doesn't contain one. Expanding partitions and filesystems should be handled by cloud-init
which you are strongly encouraged to use.
maybe you are just DD-ing the image onto the harddrive, so then what I need to prepare is just a snapshot of a running system instead of an installer...
Yes, that's the general idea. Either you provide a raw image of your disk that will get copied bit-for-bit to the first disk of the server, or you provide a qcow2, in which case it will be converted to raw and then copied to the disk.
You could start by creating a qcow2 from an installed server with qemu-img convert -f raw -O qcow2 -c /dev/sda image.qcow2
. If you don't want to use cloud-init at first, make sure your network configuration will work with DHCP and varying interfaces names.
from docs.
Hi, Maybe the documentation is lacking an introductory sentence. BYOI expects an image of your disk containing the OS.
Ah, I see, this is a key piece of information I was missing!
We do not touch partitions apart from the
configdrive
one which we create if your image doesn't contain one. Expanding partitions and filesystems should be handled bycloud-init
which you are strongly encouraged to use.
maybe you are just DD-ing the image onto the harddrive, so then what I need to prepare is just a snapshot of a running system instead of an installer...
Yes, that's the general idea. Either you provide a raw image of your disk that will get copied bit-for-bit to the first disk of the server, or you provide a qcow2, in which case it will be converted to raw and then copied to the disk.
Gotcha. I suppose then there is no way to configure arbitrary partitioning schemes before the image is copied? I found the OVH partitioning definition a bit restricted. For example, I usually create only 2 partitions on each drive: one for /boot and another for luks encryption + LVM, and then create multiple LVMs with different sizes depending on configuration.
You could start by creating a qcow2 from an installed server with
qemu-img convert -f raw -O qcow2 -c /dev/sda image.qcow2
. If you don't want to use cloud-init at first, make sure your network configuration will work with DHCP and varying interfaces names.
Excellent, thanks for this information! I think just adding this paragraph to the documentation would be a huge help for OVH customers.
from docs.
I suppose then there is no way to configure arbitrary partitioning schemes before the image is copied? I found the OVH partitioning definition a bit restricted. For example, I usually create only 2 partitions on each drive: one for /boot and another for luks encryption + LVM, and then create multiple LVMs with different sizes depending on configuration.
The partitions present on your image are left untouched when it is copied to disk. If you want to change that at boot, cloud-init can do it.
I think just adding this paragraph to the documentation would be a huge help for OVH customers.
Yeah I will discuss this with my colleagues. You're also welcome to make a PR modifying https://github.com/ovh/docs/blob/develop/pages/cloud/dedicated/bring-your-own-image/guide.en-gb.md if you'd like.
from docs.
Related Issues (20)
- Zonemaster documentation HOT 7
- What are the "OVHcloud groups" for dns nameservers (eg. dns19.ovh.net vs dns12.ovh.net) and how are they assinged? HOT 1
- Secondary DNS: which IP to whitelist for AXFR
- badsys HOT 3
- Repair proxmox7 grub after apt upgrade
- Remove references to legacy product NAS in NASHA pages HOT 1
- Uniform NASHA product name HOT 1
- NASHA available storage capacity not relevant HOT 2
- Limitations rules on NASHA partition size HOT 1
- Clarify pre-requisites for "getting-source-ip-behind-loadbalancer" HOT 1
- No idea how to configure cname for s3 buckets HOT 2
- Public Cloud: how to restore instances into another region? Which DR to use? HOT 2
- Secure My VPS guide doesn't contain full instructions to disable password logins
- pgvector plan ? HOT 4
- Change root password dedicated HOT 1
- S3 HTTPS HOT 3
- Note that RISE servers are not compatible with vRack
- Node.js versions are outdated
- documentation for Terraform S3 Backend outdated HOT 3
- Hi, ovh team! Happy holidays It seems that now ovh public cloud supports ed25519 you might want to update the docs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.