RSS
 
 

Archive for the ‘CentOS’ Category

coreos-cloudinit not found. Could not validate config.

02 Jul

When Installing coreos, this is a common problem depending on the ‘live CD’ used:


./coreos_install.sh -d /dev/sdb -C stable -c ~/cloud-config.yaml
./coreos_install.sh: coreos-cloudinit not found. Could not validate config. Continuing...\

All manner of ‘solutions’ appear on the internet, actually it is simply stating that ‘coreos-cloudinit’
is missing.

The reason being that the so called install scripts are actually not fully integrated.

Simply following the instructions at :
http://www.formatccolon.com/installing-coreos/

will ONLY work IF you use a liveCD that contains ‘coreos-cloudinit’

Get in the prerequisites first:

So:
1. Build your cloud-config.yaml BUT validate it first at:

https://coreos.com/validate/

Then ensure that you perform the following BEFORE attempting the installation

your working directory:
wget https://github.com/coreos/coreos-cloudinit/archive/master.zip
unzip master.zip
cd coreos-cloudinit-master/
./build
cd bin
#ensure you put the binary on a path where it can be found
cp coreos-cloudinit /usr/bin/coreos-cloudinit

Then cd back to your original working directory where you have:
coreos-install.sh (or whatever you called it)


./coreos-install.sh -d /dev/sdb -C stable -c ~/cloud-config.yaml
Checking availability of "local-file"
Fetching user-data from datasource of type "local-file"
Downloading the signature for http://stable.release.core-os.net/amd64-usr/current/coreos_production_image.bin.bz2...
2015-07-02 20:12:43 URL:http://stable.release.core-os.net/amd64-usr/current/coreos_production_image.bin.bz2.sig [543/543] -> "/tmp/coreos-install.GLOoJSUz0c/coreos_production_image.bin.bz2.sig" [1]
Downloading, writing and verifying coreos_production_image.bin.bz2...
2015-07-02 20:14:03 URL:http://stable.release.core-os.net/amd64-usr/current/coreos_production_image.bin.bz2 [196978663/196978663] -> "-" [1]
gpg: Signature made Thu Jun 18 17:08:09 2015 HKT using RSA key ID xxxxxxxxx
gpg: key xxxxxxxxx marked as ultimately trusted
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "CoreOS Buildbot (Offical Builds) "
Installing cloud-config...
Success! CoreOS stable current is installed on /dev/sdb

And that gets you to the next stage.

 

CentOS 6 installing the Graphical interface (GUI)

06 Aug

When doing work for customers I work mainly on VM installations. This allows me to try things out and then rollback the OS should anything not work out.(Just HOW cool is it to be able to take snapshots & rollbacks of a complete os!!)
Normally this is fine for 99.99% of all the work I do, It also allows me the ability to offer the customer complete security, because once the VM is securely erased, absolutely all the customer job information is removed from the machine.
Read the rest of this entry »