Run Fedora in Google Cloud Shell!

Screenshot from 2018-08-26 14-54-18.png

If you didn’t know, Google offers a “free VM” for you to use their Cloud platform.

It is available on this link:

https://console.cloud.google.com/cloudshell/editor

It is a container based solution, so you have root privileges which means you can do much more than just use the gcloud tool.

You can for instance run Fedora! My project anyfed just got a small update and it is working in Google Cloud shell just fine.

All you need to do is follow the instructions on the Github page or tldr; version:

wget https://raw.githubusercontent.com/nmilosev/anyfed/master/anyfed
bash anyfed

Your internet connection inside the chroot may be broken but there is an easy fix. Exit the chroot and copy the contents of the /etc/resolv.conf to the /etc/resolv.conf inside the chroot. In my instance it was:

nameserver 169.254.169.254
search c.cloud-devshell-prod.internal google.internal

Happy hacking! :)

 
4
Kudos
 
4
Kudos

Now read this

Updating/Adding distros to GNURoot for Android (Fedora 22 ARMV7L)

Update! http://nmilosev.svbtle.com/fedora-on-nonrooted-android-phones-2016-update If you haven’t tried the fantastic app for Android called GNURoot, i strongly urge you to. In a nutshell, if you wanted Linux on your Android phone via... Continue →