Skip to content

Instantly share code, notes, and snippets.

@kallisti5
Created December 31, 2014 14:31
Show Gist options
  • Save kallisti5/01f6df3bfb77b978abfe to your computer and use it in GitHub Desktop.
Save kallisti5/01f6df3bfb77b978abfe to your computer and use it in GitHub Desktop.
Upgrade DO Fedora 20 to Fedora 21
#!/bin/bash
# Digital Ocean Fedora 20 -> 21 upgrade script
# 2014, Alexander von Gluck IV
# Author not responsible for data loss. Ensure you have valid
# backups before using this script!
yum update
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-21-$(uname -i)
yum update yum
yum clean all
yum --releasever=21 distro-sync
yum remove firewalld-config-standard
yum install system-release-server
sync
echo "Now, change the kernel to 'vmlinuz-3.17.7-200.fc20.x86_64' and power the droplet back on"
shutdown -h now
@iddqd3
Copy link

iddqd3 commented Oct 7, 2015

thanks

P.S use this script in a screen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment