Saturday, June 22, 2019

Re: Ansible install Re: Reboot and re-link

On Sun, Jun 23, 2019 at 01:37:35AM +0300, chohag@jtan.com wrote:
>Frank Beuth writes:
>> That's the interesting thing in my case (at least)... the system *IS* already
>> extant!
>
>And how have you introduced it to your command-and-control system? That
>is, ultimately, the key.
>
>> It has a nice shiny new Ubuntu/Debian/Fedora/centOS install that has just been
>> imaged onto it using the hosting provider's default tooling, and SSH is already
>> configured. (without blindly saying "yes" to the unexpected-fingerprint prompt)
>
>That is what these tools depend on, but how is such a state of "already
>configured" achieved before the tool that does the configuration gets
>involved? This is why these are not the right tool for the job.

I can see that you've never worked with a VPS provider, which is understandable
since a VPS is going to be a bit less secure than a dedicated server.

How this works is fairly simple:

the provider has a web interface where you can choose whether you want Debian
or Ubuntu on your server (often not even the latest version) and then you click
the button and the automated system images your server with that OS.

Then once the imaging and set-up is done, they email you the root password and
IP address so you can log in for the first time over SSH.

Sometimes other things are possible (VNC, uploading custom ISOs to image) but
what I described is all you can count on from provider to provider.

>I wrote stash so that I could deploy my own servers without trust being
>an issue. It got as far as that and I (temporarily; I'll get back to it)
>lost interest. Nobody is paying me for this, I'm just bored. The
>documentation is ... poor. But it works. In my little network there are
>currently 6 distinct servers, all built using it with zero manual
>interaction.
>
>https://github.com/chohag/stash
>
>Enjoy.
>
>Happy to answer questions (I need some critical feedback). I plan to make
>more out of this but for the time being it's little more than a toy.

Huh. How does the ISO actually end up in the server -- is the user expected to
manually mount the ISO in the VM system?

No comments:

Post a Comment