-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide real-world example with Ubuntu LTS #91
Comments
There's an example in the docs, which doesn't yet have sources to be used by an end-user, it looks a bit like this: version: '0.1'
name: ubuntu_provisioning
global_timeout: 6000
tasks:
- name: "os-installation"
worker: "{{index .Targets "machine1" "mac_addr"}}"
volumes:
- /dev:/dev
- /dev/console:/dev/console
- /lib/firmware:/lib/firmware:ro
environment:
MIRROR_HOST: 192.168.1.2
actions:
- name: "disk-wipe"
image: disk-wipe
timeout: 90
- name: "disk-partition"
image: disk-partition
timeout: 600
environment:
MIRROR_HOST: 192.168.1.3
volumes:
- /statedir:/statedir
- name: "install-root-fs"
image: install-root-fs
timeout: 600
- name: "install-grub"
image: install-grub
timeout: 600
volumes:
- /statedir:/statedir @gauravgahlot also shared what I understand is a slightly older, WIP example: https://github.com/tinkerbell/tink/tree/first-good-workflow/workflow-samples/ubuntu Having reviewed the example, I saw some concepts embedded like Packet machine types and regions. I wonder if we could create something very minimal which achieves a similar effect? I would expect it to look something like this, after booting OSIE over the network on the worker:
A simpler flow could involve using Packer from Hashicorp to create complete disk images with GRUB pre-installed, an idea that I hear a VMware team are using with CAPI.
Other than the main flow, what options are there and which do we want to use in the examples for the OS image?
|
I was tried to provision Ubuntu OS to BM server, and I have the same pain, hello-world doesn’t make too much sense, for the end user point of view they need provision a REAL OS on the server, and some example template for ubuntu doesn’t work either, because it's not available in public registry, it would be great we can public it, so end user only need follow the step by step guide to provision a baremetal server with real OS, and it would be good add some example on how to set the cloud-init script, thanks |
Totally agreed, the hello-world example is just a teaser and it does not bring much value, the example from |
I believe this link is from @kewang-equinix (from community Slack):
https://github.com/wangxin311/tink-workflow I think I saw another repo floating around, I'll capture it here if I find it again in Slack. |
After the data model update, the way to retrieve metadata from the hardware data has also changed. A suggested patch from Xin Wang is as follows:
|
As an end-user I want to provision a known OS such as Ubuntu LTS, 18.04.
This should be documented in the first steps instead of or as well as hello-world.
For each step in the task to install, there should be sources for the Dockerfiles so that these can be hacked on and adjusted.
I see this referenced in the documentation as an example of what could be done, but it's not in the examples folder, so I am not sure if the source is published for it.
It would also be extremely useful to have an example using cloud-init and the Ubuntu cloud image - https://cloud-images.ubuntu.com/bionic/current/
To recap, when completed, the following would be available on GitHub, with instructions:
The text was updated successfully, but these errors were encountered: