On Mon, Jun 01, 2015 at 11:41:38AM -0500, JJ Asghar wrote:
>
> Hey everyone!
>
> As part of our one of our hack days at Chef, we decided that we should automate the installation/bootstrap of ProjectAtomic[1]. Fair warning, it???s not production ready by any standard, so please take a look but don???t push it out to production???yet. Again, fair warning, DON???T USE THIS IN PRODUCTION.
>
> Ok, done with the disclaimers, i???d like to ask some help us getting past the last mile.
>
> Most, if not all of the machines we???re going to leverage are headless GUI-less machines, we want to leverage virt-install[2]. It seems there is an article[3] on this, but we???ve tried every way we could think of and we couldn???t get it to work. The machine shows up in virsh list, but if you connect with the console it just says ???Escape Character ^]??? and just sits there.
I think the key here may be "headless". The script at [1] works for me (I use it all the
time) and uses *--graphics none* on the virt-install command line. Be sure to read through
the script before using it. You'll also need to create a seed iso for cloud-init user-data.
-Dusty
[1] - https://gist.github.com/dustymabe/b4d9a95eee3ff187e916