mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-21 14:41:04 +01:00
This repository contains some shell scripts to download and configure linux images and to transfer them to a storage.
configuration/packages | ||
scripts | ||
.gitignore | ||
.travis.yml | ||
LICENSE.txt | ||
README.md |
Linux Image Manager
This repository contains some shell scripts to download and configure linux images and to transfer them to a storage.
Virtual Btrfs RAID1 Setup
To setup a virtual btrfs encrypted raid 1 execute:
bash scripts/encryption/storage/raid1/setup.sh
Setup
To install a Linux distribution execute:
sudo bash ./scripts/image/setup.sh
Cleanup
To cleanup the image setup execute:
fuser -k /dev/mapper/linux-image-manager-*;
umount -f /dev/mapper/linux-image-manager-*;
fuser -k /tmp/mapper/linux-image-manager-*;
umount -f /tmp/linux-image-manager-*;
Additional you can unmount the device with a command like
umount -f /dev/sd*;
Chroot
To chroot into a Linux distribution on a storage execute:
sudo bash ./scripts/image/chroot.sh
Backup
To backup a image execute:
sudo bash ./scripts/image/backup.sh
License
The "GNU GENERAL PUBLIC LICENSE Version 3" applies to this project.