[arch-general] Deploy Arch linux to many virtual machines
Hello! Could you please me. Me need install very much virtual machines with Arch linux. In Centos I can use kickstart and put in parameter on boot over PXE. How I can make auto-installation over PXE in Arch?
You can use docker. http://docs.docker.io/en/latest/installation/archlinux/ 2014/1/23 Кравец Роман <softded@gmail.com>
Hello!
Could you please me.
Me need install very much virtual machines with Arch linux.
In Centos I can use kickstart and put in parameter on boot over PXE.
How I can make auto-installation over PXE in Arch?
Dear Plonky, No. I have many virtual machines on VirtualBox virtualization. I want, that on during first boot virtual machine will install arch linux over PXE. On Fri, Jan 24, 2014 at 12:59 AM, Plonky Duby <plonky@gmail.com> wrote:
You can use docker. http://docs.docker.io/en/latest/installation/archlinux/
2014/1/23 Кравец Роман <softded@gmail.com>
Hello!
Could you please me.
Me need install very much virtual machines with Arch linux.
In Centos I can use kickstart and put in parameter on boot over PXE.
How I can make auto-installation over PXE in Arch?
-- С уважением, Кравец Роман.
On Friday, January 24, 2014 06:45:27 AM Кравец Роман wrote:
Dear Plonky,
No. I have many virtual machines on VirtualBox virtualization. I want, that on during first boot virtual machine will install arch linux over PXE.
wouldn't it be better to create and import an appliance? Achieves the same effect. -- Regards Shridhar
Dear Shridhar, I want set specified network setting and root password to each new machines. My script get setting over HTTP JSON request and get setting from master machine. On Fri, Jan 24, 2014 at 6:59 AM, Shridhar Daithankar <ghodechhap@ghodechhap.net> wrote:
On Friday, January 24, 2014 06:45:27 AM Кравец Роман wrote:
Dear Plonky,
No. I have many virtual machines on VirtualBox virtualization. I want, that on during first boot virtual machine will install arch linux over PXE.
wouldn't it be better to create and import an appliance? Achieves the same effect.
-- Regards Shridhar
-- С уважением, Кравец Роман.
On Friday, January 24, 2014 08:05:26 AM Кравец Роман wrote:
Dear Shridhar,
I want set specified network setting and root password to each new machines. My script get setting over HTTP JSON request and get setting from master machine.
create the appliance such that 1. it gets on network via dhcp, no name supplied 2. on first boot, contacts a central server to register itself 3. has pre-configured ssh keys in root account for certain external accounts 4. on registration, it triggers a bot, that ssh's into the new machine and customize the setting 5. reboot Should work no? I am pretty sure there are some automation frameworks like salt/puppet already handle this? real question is what does pxe boot/network install gives you that an appliance doesn't. Whats the distinguishing factor between two such VM instances, how do you set and discover it? -- Regards Shridhar
Dear Shridhar, I think that use puppet it is good idea. I will try it today. Thank you! DHCP server know about all mac address on VM. It is help my to identify each machunes on the network. -- Best regards, Roman Kravets On Fri, Jan 24, 2014 at 7:27 AM, Shridhar Daithankar <ghodechhap@ghodechhap.net> wrote:
On Friday, January 24, 2014 08:05:26 AM Кравец Роман wrote:
Dear Shridhar,
I want set specified network setting and root password to each new machines. My script get setting over HTTP JSON request and get setting from master machine.
create the appliance such that
1. it gets on network via dhcp, no name supplied 2. on first boot, contacts a central server to register itself 3. has pre-configured ssh keys in root account for certain external accounts 4. on registration, it triggers a bot, that ssh's into the new machine and customize the setting 5. reboot
Should work no? I am pretty sure there are some automation frameworks like salt/puppet already handle this?
real question is what does pxe boot/network install gives you that an appliance doesn't. Whats the distinguishing factor between two such VM instances, how do you set and discover it? -- Regards Shridhar
On Thursday 23 Jan 2014 21:59:06 Plonky Duby wrote:
You can use docker. http://docs.docker.io/en/latest/installation/archlinux/
Thank you; I was not aware of Docker. It looks *awesome*. Paul
On Friday, January 24, 2014 02:17:01 AM Paul Gideon Dann wrote:
On Thursday 23 Jan 2014 21:59:06 Plonky Duby wrote:
You can use docker. http://docs.docker.io/en/latest/installation/archlinux/
Thank you; I was not aware of Docker. It looks *awesome*.
FYI, stock lxc works very well with arch. I have blogged about it at http://www.ghodechhap.net/blog/ -- Regards Shridhar
On 23.01.2014 19:59, Кравец Роман wrote:
How I can make auto-installation over PXE in Arch?
https://wiki.archlinux.org/index.php/PXE Put that into the kernel line: "script=http://whatever.com/some-script-here" Used by this script upon the automatic root login on tty1: https://projects.archlinux.org/archiso.git/tree/configs/releng/root-image/ro... Might also be helpful: My script for extracting a new iso: https://paste.xinu.at/Lcka/ Also my setup script: http://git.server-speed.net/users/flo/bin/tree/setup-arch-vm
Dear Florian,
Put that into the kernel line: "script=http://whatever.com/some-script-here"
It is answer to my questions!! Thank you! On Fri, Jan 24, 2014 at 1:43 PM, Florian Pritz <bluewind@xinu.at> wrote:
On 23.01.2014 19:59, Кравец Роман wrote:
How I can make auto-installation over PXE in Arch?
https://wiki.archlinux.org/index.php/PXE
Put that into the kernel line: "script=http://whatever.com/some-script-here"
Used by this script upon the automatic root login on tty1: https://projects.archlinux.org/archiso.git/tree/configs/releng/root-image/ro...
Might also be helpful:
My script for extracting a new iso: https://paste.xinu.at/Lcka/
Also my setup script: http://git.server-speed.net/users/flo/bin/tree/setup-arch-vm
-- С уважением, Кравец Роман.
participants (5)
-
Florian Pritz
-
Paul Gideon Dann
-
Plonky Duby
-
Shridhar Daithankar
-
Кравец Роман