Git Product home page Git Product logo

qubes-debian-upgrader's Introduction

qubes-debian-upgrader

Simple dom0 bash script to streamline updating Debian templates to latest releases

The script follows the procedure of in-place upgrading for an installed Debian Template in your Qubes system. If you wish to install a new, unmodified Debian template instead of upgrading a template that's already installed in your system, just issue qvm-template install debian-XX or qvm-template install debian-XX-minimal

The script begins by asking the user for the name of the template they want to upgrade. Then it checks if that template exists. If it does, the script extracts the current version of the Debian release from the template and prompts the user if they wish to proceed with the upgrade. If the user agrees, the script then calculates the new version number and asks if the user wants to clone the template before upgrading. The user can choose to clone the template and provide a new name, or proceed with upgrading the original template.

The script then performs an initial upgrade and handles the distro-sync process. The script creates a cache block to prevent exiting over a "No space left on device" error.

Finally, after the upgrade is successful, it cleans up the expect package, performs additional updates and upgrades, and shuts down the template. Note: disk drimming is skipped as it should no longer be necessary.

Usage

To use this script, copy to dom0 (check the script first) and then you've two options, one for single template upgrade and one for multiple template upgrades:

For single templates, run the below and you'll be prompted for the desired template:

./deb_upgrader.sh
./deb_upgrader.sh template1 template2 template3

qubes-debian-upgrader's People

Contributors

kennethrrosen avatar deeplow avatar

Watchers

 avatar

Forkers

deeplow

qubes-debian-upgrader's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.