I'm currently testing foreman v1.3, and i would know if it's possible to kickstart VMs via libvirt without PXE server and DHCP server like we can do with virt-install command with "-x EXTRA, --extra-args=EXTRA" option ?
I do not know if you can display token in the host detail page in the
Foreman UI, but when you put it in the build mode, then you can
definitely spoof the TFTP template and copy the token from there.
Then you provide it in the extra arg "ks" - you can spoof provision
template for that (by clicking on the Templates tab on the host detail
page).
LZ
···
On Mon, Nov 18, 2013 at 10:21:10AM +0100, Baptiste AGASSE wrote:
> Hi all,
>
> I'm currently testing foreman v1.3, and i would know if it's possible to kickstart VMs via libvirt without PXE server and DHCP server like we can do with virt-install command with "-x EXTRA, --extra-args=EXTRA" option ?
>
> eg:
> virt-install \
> --connect=qemu+ssh://myuser@server1.example.com/system \
> --virt-type=kvm \
> --name=foreman \
> --ram=2048 \
> --vcpus=2 \
> --location=http://repos.example.com/pub/repos/el6/os/x86_64/ \
> --extra-args="ip=192.168.1.4 netmask=255.255.255.0 gateway=192.168.1.1 dns=192.168.1.1 ks=http://repos.example.com/pub/ks/el6/foreman.el6.cfg" \
> --os-variant=rhel6 \
> --network=network=vlan2,model=virtio \
> --disk=vol=default/foreman.img,device=disk,cache=none,io=native,bus=virtio \
> --graphics=spice \
> --video=vga \
> --channel=spicevmc
>
> Have a nice day.
>
> Regards.
>
> Baptiste.
>
> --
> You received this message because you are subscribed to the Google Groups "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/groups/opt_out.