Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

live-snapshot-auto

Refracta Development, Scripts, etc.

live-snapshot-auto

Postby fsmithred » Mon May 23, 2016 5:05 pm

Modified refractasnapshot to make a snapshot of a system other than the one you're running. The snapshotted system only needs live-boot* and live-config* packages installed. The refractasnapshot deps and the script only need to be installed on the host system.

Works on a mounted filesystem or a directory where you did a debootstrap install. It does not ask any questions - all variables are hard-coded, so it can run automatically.

It assumes that you have refractasnapshot and its dependencies installed, so it can use /usr/lib/refractasnapshot/iso as a source of files for the isolinux directory in the live media. You can change that. Check the variables in the head of the script before you run it.

Here's the script and the excludes list.
https://gist.github.com/fsmithred/87b68 ... 3cd0aea05d
https://gist.github.com/fsmithred/9a4ee ... f269ca23ec
User avatar
fsmithred
 
Posts: 2093
Joined: Wed Mar 09, 2011 9:13 pm

Return to Discuss

Who is online

Users browsing this forum: No registered users and 1 guest

suspicion-preferred