Skip to content

Instantly share code, notes, and snippets.

@dyoungwd
Last active November 22, 2016 14:52
Show Gist options
  • Save dyoungwd/1326c7059964efcdad0731fc496e031b to your computer and use it in GitHub Desktop.
Save dyoungwd/1326c7059964efcdad0731fc496e031b to your computer and use it in GitHub Desktop.
Fedora 25 Upgrade Script
#! /bin/bash
# script to upgrade to Fedora 25
#login as root
su
#Upgrade system
dnf -y upgrade
#install plugins
dnf -y install dnf-plugin-system-upgrade
#Download files for upgrade
dnf -y system-upgrade download --refresh --releasever=25
#Upgrade ystem and reboot
dnf -y system-upgrade reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment