Dear Brian,

If youre using VMware to run your VM why not just create a template from
your working pfSense VM and export it then each time you need this to
role-out just import it in the destination virtualization host the same
thing if your using KVM.

On Friday, 7 October 2016, Brian Candler <[email protected]> wrote:

> On 07/10/2016 12:09, Brian Candler wrote:
>
>> I would like to be able to restore an XML config from a HTTP(S) URL at
>> the console prompt. Is this possible?
>>
>> The use case is for a rapid rebuild of a node entirely at the console:
>>
>> * Run through the installer in express mode
>> * Configure just vtnet0 as WAN (no additional config needed if DHCP is
>> available)
>> * Fetch XML config from URL
>> * Reboot
>>
>> That's it. The new node is now fully prepared, with no need to configure
>> the LAN interface or connect to the GUI.
>>
>> Other use case: I am trying to set up an automated build of a pfSense VM.
> The VM builder tool I'm using (packer.io) can put the config file on a
> floppy disk image, or can serve it from a local http server.
>
> I found this:
>
> https://doc.pfsense.org/index.php/Automatically_Restore_During_Install
>
> which is almost what I want, except (a) packer creates a floppy device
> (not usb); and (b) packer only puts files in the root directory.  As far as
> I can see, pfSense doesn't have a /dev/fd0 - nor does it have a loadable
> module for the floppy driver. I guess it's reasonable to minimise the image
> size by removing legacy hardware.
>
> So really I need to pull the config XML via HTTP.
>
> Regards,
>
> Brian.
>
> _______________________________________________
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
>


-- 

This email or attachments may contain confidential or legally privileged
information intended for the sole use of the addressee(s). Any use,
redistribution, disclosure, or reproduction of this message, except as
intended, is prohibited. If you received this email in error, please notify
the sender and reformat your hard drive to remove all copies of the
message, including any attachments; failure to do so may result in your
floppy drive being filled with jelly. Any views or opinions expressed in
this email (unless otherwise stated) may not represent those of the Vatican
City, Barack Hussein Obama II, or the Sisters of the Perpetual Motion.
Cheers [image: ]
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to