Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add fedora-25-64 image #2
Conversation
added some commits
Apr 27, 2017
| @@ -16,17 +16,24 @@ backends: | ||
| kernel: GRUB 2 | ||
| - debian-unstable-64: | ||
| kernel: GRUB 2 | ||
| + - fedora-25-64 |
| path: /root/spread | ||
| restore: | | ||
| - apt autoremove -y | ||
| + if [[ "$SPREAD_SYSTEM" = fedora-* ]]; then |
zyga
May 15, 2017
Can you please switch/case here. It it will look more natural and will do everything we need. We also should not have a default / else case as it will always be wrong, just be explicit.
| + case "$SPREAD_SYSTEM" in | ||
| + fedora-*) | ||
| + dnf clean all -y | ||
| + dnf clean metadata |
morphis
May 22, 2017
Contributor
In my tests I had to do a dnf clean metadata afterwards as there were still things lying around.
fgimenez
May 22, 2017
Contributor
Ok thanks, perhaps we should report this, according to http://dnf.readthedocs.io/en/latest/command_ref.html#clean-command-label clean all should.. well, clean all ;)
| @@ -2,37 +2,41 @@ summary: Update Linode image. | ||
| execute: | | ||
| - case $SPREAD_REBOOT in | ||
| + if [[ "$SPREAD_SYSTEM" = fedora-* ]]; then | ||
| + dnf upgrade -y |
fgimenez
May 15, 2017
Contributor
Couldn't we do some cleanup after rebooting into the new version as we do on ubuntu?
| + dnf clean metadata | ||
| + find /var/log -type f -exec rm -f {} \; | ||
| + ;; | ||
| + debian-*) |
| @@ -2,37 +2,41 @@ summary: Update Linode image. | ||
| execute: | | ||
| - case $SPREAD_REBOOT in | ||
| + if [[ "$SPREAD_SYSTEM" = fedora-* ]]; then |
zyga
May 16, 2017
Can you please use a switch/case statement here. In all the cases where we special case Fedora or Ubuntu the else part is always broken when we add something new.
| + | ||
| + uname -r > old-kernel | ||
| + | ||
| + # apt update is hanging on security.ubuntu.com with IPv6. |
morphis commentedApr 27, 2017
No description provided.