OSDeploy / OSD

OSD Shared Functions
MIT License
130 stars 54 forks source link

Saving OS and driverpacks to network share #138

Open FilipJohansson99 opened 2 months ago

FilipJohansson99 commented 2 months ago

Hi,

When installing OSDCloud using USB the downloaded OS and driverpacks gets saved on the USB, is there any way to save the files to a network share instead so I don't have to download the files every time i reinstall a device? I get that I can put images on the network drive but I would like to automate this. Basically having the "OSDCloudUSB" partition on a network drive. Is this currently possible?

gwblok commented 2 months ago

So today, I do this by replicating my OSDCloudUSB to a network share, I then map the share at the start. Example \WD1TB\OSD gets mapped to O:\ In O, I have folde OSDCloud with the contents: image

You can script mapping the drive first, or do it from the prompt before triggering the GUI.

gwblok commented 2 months ago

@FilipJohansson99, any update if you got this working for yourself?

FilipJohansson99 commented 2 months ago

Hi @gwblok sorry for late reply, That is exactly what I've tried without any success, I run net use Z: to a folder on a file server named OSDCloud with the following sub-folders "OS" & "DriverPacks" however during the installation I get a message something along the lines of no USB storage found and that the files will be downloaded and stored locally

gwblok commented 1 month ago

Thanks, I haven't had time to look into it. My guess is the code is currently looking for a USB media type to save it off to. I've only ever pre-populated the network volume, which works well.

I'd suggest this work around for now. use a flash drive, so it syncs everything down, then copy the contents of the flash drive to the network volume, then on future runs, it will pull from the network share.

I have no ETA on working on this, life be busy. :-)