mirror of
https://github.com/rancher/os.git
synced 2025-07-04 10:36:14 +00:00
Merge pull request #1824 from rancher/digitalocean-and-ipxe
DigitalOcean now has a rancheros image - show how to use it
This commit is contained in:
commit
d6d891ced9
@ -17,8 +17,9 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a href="{{site.baseurl}}/os/running-rancheros/cloud/aws/">AWS</a></li>
|
<li><a href="{{site.baseurl}}/os/running-rancheros/cloud/aws/">AWS</a></li>
|
||||||
<li><a href="{{site.baseurl}}/os/running-rancheros/cloud/gce/">GCE</a></li>
|
<li><a href="{{site.baseurl}}/os/running-rancheros/cloud/gce/">GCE</a></li>
|
||||||
<!--<li><a href="{{site.baseurl}}/os/running-rancheros/cloud/do/">DigitalOcean</a></li>-->
|
<li><a href="{{site.baseurl}}/os/running-rancheros/cloud/do/">DigitalOcean</a></li>
|
||||||
<li><a href="{{site.baseurl}}/os/running-rancheros/cloud/openstack/">Openstack</a></li>
|
<li><a href="{{site.baseurl}}/os/running-rancheros/cloud/openstack/">Openstack</a></li>
|
||||||
|
<li><a href="{{site.baseurl}}/os/running-rancheros/server/pxe/">PXE</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -7,4 +7,16 @@ layout: os-default
|
|||||||
## Running RancherOS on DigitalOcean
|
## Running RancherOS on DigitalOcean
|
||||||
---
|
---
|
||||||
|
|
||||||
Running RancherOS on DigitalOcean is not yet supported.
|
Running RancherOS on DigitalOcean is not yet supported, but there is a `rancheros` image now available from the commandline tool, so you can run:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ doctl.exe compute droplet create --image rancheros --region sfo1 --size 2gb --ssh-keys 0a:db:77:92:03:b5:b2:94:96:d0:92:6a:e1:da:cd:28 myrancherosvm
|
||||||
|
ID Name Public IPv4 Private IPv4 Public IPv6 Memory VCPUs Disk Region Image Status Tags
|
||||||
|
47145723 myrancherosvm 2048 2 40 sfo1 RacherOS v1.0.1-rc [UNSUPPORTED/BETA] new
|
||||||
|
|
||||||
|
$ doctl.exe compute droplet list
|
||||||
|
47145723 myrancherosvm 107.170.203.111 10.134.26.83 2604:A880:0001:0020:0000:0000:2750:0001 2048 2 40 sfo1 RacherOS v1.0.1-rc [UNSUPPORTED/BETA] active
|
||||||
|
|
||||||
|
ssh -i ~/.ssh/Sven.pem rancher@107.170.203.111
|
||||||
|
```
|
||||||
|
|
||||||
|
@ -6,8 +6,6 @@ layout: os-default
|
|||||||
## Running RancherOS on Google Compute Engine (GCE)
|
## Running RancherOS on Google Compute Engine (GCE)
|
||||||
----
|
----
|
||||||
|
|
||||||
Note: The Google Compute Engine image is still experimental. There are known issues with the image, so please do not use it in production!
|
|
||||||
|
|
||||||
### Adding the RancherOS Image into GCE
|
### Adding the RancherOS Image into GCE
|
||||||
|
|
||||||
RancherOS is available as an image in GCE, and can be easily run in Google Compute Engine (GCE). Let’s walk through how to upload GCE image.
|
RancherOS is available as an image in GCE, and can be easily run in Google Compute Engine (GCE). Let’s walk through how to upload GCE image.
|
||||||
|
@ -48,18 +48,22 @@ When this service is run, the `EXTRA_CMDLINE` will be set.
|
|||||||
|
|
||||||
### cloud-init Datasources
|
### cloud-init Datasources
|
||||||
|
|
||||||
Valid [datasources](https://github.com/rancher/os/blob/3338c4ac63597940bcde7e6005f1cc09287062a2/cmd/cloudinit/cloudinit.go#L378) for RancherOS.
|
Valid cloud-init datasources for RancherOS.
|
||||||
|
|
||||||
| type | default |
|
| type | default |
|
||||||
|---|---|
|
|---|---|
|
||||||
| ec2 | DefaultAddress |
|
| ec2 | DefaultAddress |
|
||||||
| file | path |
|
| file | path |
|
||||||
| url | url |
|
|
||||||
| cmdline | |
|
| cmdline | |
|
||||||
| configdrive | |
|
| configdrive | |
|
||||||
| digitalocean | DefaultAddress |
|
| digitalocean | DefaultAddress |
|
||||||
|
| ec2 | DefaultAddress |
|
||||||
|
| file | path |
|
||||||
| gce | |
|
| gce | |
|
||||||
|
| packet | DefaultAddress |
|
||||||
|
| url | url |
|
||||||
|
|
||||||
### Cloud-Config
|
### Cloud-Config
|
||||||
|
|
||||||
When booting via iPXE, RancherOS can be configured using a [cloud-config file]({{site.baseurl}}/os/configuration/#cloud-config).
|
When booting via iPXE, RancherOS can be configured using a [cloud-config file]({{site.baseurl}}/os/configuration/#cloud-config).
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!ipxe
|
#!ipxe
|
||||||
dhcp
|
dhcp
|
||||||
set base-url https://github.com/rancher/os/releases/download/latest
|
set base-url https://releases.rancher.com/os/latest
|
||||||
kernel ${base-url}/vmlinuz printk.devkmsg=on rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait console=tty0 rancher.state.mdadm_scan console=ttyS1,115200n8 rancher.autologin=ttyS1 rancher.network.interfaces.eth*.dhcp=true
|
kernel ${base-url}/vmlinuz printk.devkmsg=on rancher.debug=true rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait console=tty0 rancher.state.mdadm_scan console=ttyS1,115200n8 rancher.autologin=ttyS1 rancher.network.interfaces.eth*.dhcp=true rancher.cloud_init.datasources=[configdrive,ec2,gce,packet,digitalocean]
|
||||||
initrd ${base-url}/initrd
|
initrd ${base-url}/initrd
|
||||||
boot
|
boot
|
||||||
|
Loading…
Reference in New Issue
Block a user