#57 README-install-inside.md: don't disable SELinux
Merged 6 years ago by dustymabe. Opened 6 years ago by jlebon.
jlebon/workstation-ostree-config pr/more-rawhide-fixes  into  master

file modified
+6 -2
@@ -46,13 +46,17 @@ 

  

  Deploy; we use `enforcing=0` to avoid SELinux issues for now, and --karg=rghb=0 to avoid a hang with Plymouth (these aren't needed if deploying Fedora 26 currently).

  ```

- ostree admin deploy --os=fedora --karg-proc-cmdline --karg=enforcing=0 --karg=rhgb=0 fedora-ws-rawhide:fedora/rawhide/x86_64/workstation

+ ostree admin deploy --os=fedora --karg-proc-cmdline fedora-ws-27:fedora/27/x86_64/workstation

  ```

  

  To initialize this root, you'll need to copy over your `/etc/fstab`, `/etc/locale.conf`, `/etc/default/grub` at least, along with the ostree remote that we added:

  ```

- for i in /etc/fstab /etc/default/grub /etc/locale.conf /etc/ostree/remotes.d/fedora-ws-rawhide.conf ; do cp $i /ostree/deploy/fedora/deploy/$checksum.0/$i; done

+ for i in /etc/fstab /etc/default/grub /etc/locale.conf /etc/ostree/remotes.d/fedora-ws-27.conf ; do cp $i /ostree/deploy/fedora/deploy/$checksum.0/$i; done

  ```

+ 

+ where `$checksum` is whatever the checksum of the deployment is; there should only be a

+ single directory there if this is your first deployment.

+ 

  If you have a separate `/home` mount point, you'll need to change

  that `fstab` copy to refer to `/var/home`. If you *don't* have a separate /home mount

  point, then you need to make sure that a symlink will be created:

I hadn't swapped out all the instances of rawhide in the instructions in
my previous PR. Also remove enforcing=0 since SELinux should work now.
And graphical boot should work fine now as well, but just inherit
whatever is the default from the current /proc/cmdline.

Pull-Request has been merged by dustymabe

6 years ago
Metadata