I don't have OS X Server and want to image a mac over my network. I've been attempting this through the terminal inside the recovery console (can't boot into the OS). I have the dmg which I packaged using instadmg on a mac which is accessible via the network. I'd like to use a combination of asr and/or mount to achieve this, but the documentation is poor and I can't figure out how exactly to form my commands.
I've tried using mount first to mount the dmg to a local folder in /tmp/ but I can't seem to even get the target machine to connect using smb or afp. If I could only get mount working I'd have no problem.
I also see that asr has a --source flag but have no clue how to specify a network location that would work.
Other alternatives: use target disk mode I guess, but that defeats the purpose of trying to do it over the network...