This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
coreosuclv [2016/11/02 14:51] moliver |
coreosuclv [2016/11/03 17:41] moliver |
||
---|---|---|---|
Line 16: | Line 16: | ||
Aqui se muestra como: https://linuxconfig.org/how-to-perform-a-bare-metal-installation-of-coreos-linux | Aqui se muestra como: https://linuxconfig.org/how-to-perform-a-bare-metal-installation-of-coreos-linux | ||
+ | |||
+ | Y para poder poner una ip fija se puede mirar aqui: | ||
+ | https://coreos.com/os/docs/latest/network-config-with-networkd.html | ||
+ | |||
+ | Un ejemplo de cloud-config.yaml | ||
+ | <code> | ||
+ | #cloud-config | ||
+ | hostname: coreos0 | ||
+ | ssh_authorized_keys: | ||
+ | - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDaF6E4c9jqL9cF1+XbfHAaGZTIDWn78grUmLbt+BkJVVQhQZ1rdkB40BbpZH31OlCVbg59qbCkYgT4NMRF/WzIVyEZWOTdc4Vn1lwHYSCnbR3aTAUVWeut+rHUn9SIxcZ+yOW5WLByTGHs+vCK478rkoMGA70IcvxWBUQu/KccJpK9RTGtuBPZ23YcBjSJyM2aO1uxNP1VZJqS52PDZN6rC+H0NSbYphrIPjtGNhocBHK9WT9mUUrevK8NflzHtS41MLsGkOd/RgHsIxPG9bbZ4mdS2vkJfKZDk72l2G90mOGSZh2/gH0NiEmrxsepfyRL13wPp3clerTkTY4DgG7P taqchi@Manuels-MacBook-Pro.local | ||
+ | users: | ||
+ | - name: core | ||
+ | passwd: $1$Y9OJDrE3$Bv4veLMp1fo6P8jN1/L1g0 | ||
+ | coreos: | ||
+ | units: | ||
+ | - name: systemd-networkd.service | ||
+ | command: stop | ||
+ | - name: 00-ens18.network | ||
+ | runtime: true | ||
+ | content: | | ||
+ | [Match] | ||
+ | Name=ens18 | ||
+ | |||
+ | [Network] | ||
+ | DNS=8.8.8.8 | ||
+ | Address=10.0.0.11/24 | ||
+ | Gateway=10.0.0.1 | ||
+ | - name: down-interfaces.service | ||
+ | command: start | ||
+ | content: | | ||
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStart=/usr/bin/ip link set ens18 down | ||
+ | ExecStart=/usr/bin/ip addr flush dev ens18 | ||
+ | - name: systemd-networkd.service | ||
+ | command: restart | ||
+ | </code> | ||
Al terminar el proceso de instalacion debe verse algo como: | Al terminar el proceso de instalacion debe verse algo como: | ||
{{:wiki:screen_shot_2016-11-02_at_10.18.36_am.png?direct&200|}} | {{:wiki:screen_shot_2016-11-02_at_10.18.36_am.png?direct&200|}} | ||