README: Fix partitioning bug info
[workstation-ostree-config.git] / README.md
1 For some background, see:
2
3  - https://fedoraproject.org/wiki/Workstation/AtomicWorkstation
4  - https://fedoraproject.org/wiki/Changes/WorkstationOstree
5  
6 (Note also this repo obsoletes https://pagure.io/atomic-ws)
7
8 High level design
9 -----------------
10
11 The goal of the system is to be a workstation, using
12 rpm-ostree for the base OS, and a combination of
13 Docker and Flatpak containers, as well as virtualization
14 tools such as Vagrant.
15
16 Status
17 ------
18
19 This project is actively maintained and is ready for use
20 by sophisticated and interested users, but not ready
21 for widespread promotion.
22
23 Installing (do not use partitioning defaults!)
24 ----------
25
26 Important!  *Don't* choose auto-partitioning in the below installer ISO; you
27 currently can't use a separate `/home` partition, and Anaconda defaults to that.
28 This will be fixed in Fedora 27; see
29 this [known issue](https://bugzilla.redhat.com/show_bug.cgi?id=1382873) as
30 well as [this anaconda PR](https://github.com/rhinstaller/anaconda/pull/1124).
31
32 There are ISOs available for [Fedora 26](https://kojipkgs.fedoraproject.org/compose//branched/)
33 [direct link](https://kojipkgs.fedoraproject.org/compose//branched/Fedora-26-20170707.n.0/compose/Workstation/x86_64/iso/Fedora-Workstation-ostree-x86_64-26-20170707.n.0.iso)
34 and [rawhide](https://kojipkgs.fedoraproject.org/compose//rawhide/).
35
36 Important issues:
37 -----------------------
38
39  - [Anaconda autopartitoning](https://github.com/rhinstaller/anaconda/issues/800) - be sure to use `/var/home` instead of `/home`
40  - [flatpak system repo](https://github.com/flatpak/flatpak/issues/113#issuecomment-247022006)
41  
42 Migrating between OSTree repos
43 -------------------------------------
44
45 Enable the 26/27 remotes:
46 ```
47 ostree remote add --if-not-exists --gpg-import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-primary fedora-ws-26 https://kojipkgs.fedoraproject.org/compose/ostree/26
48 ostree remote add --if-not-exists --gpg-import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-primary fedora-ws-27 https://kojipkgs.fedoraproject.org/compose/ostree/rawhide
49 ```
50 Rebase to rawhide:
51 ```
52 rpm-ostree rebase fedora-ws-27:fedora/rawhide/x86_64/workstation
53 ```
54  
55 Using the system
56 --------------------
57
58 First, try out `rpm-ostree install` to layer additional packages.  For example,
59 `rpm-ostree install powerline`.
60
61 Next, let's try flatpak. Before you do: There's a known flatpak issue on
62 AtomicWS - run [this workaround](https://github.com/flatpak/flatpak/issues/113#issuecomment-247022006),
63 which you only need to do once. After that, [try flatpak](http://flatpak.org/apps.html).
64
65 If you are a developer for server applications,
66 try [oc cluster up](https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md) to
67 create a local OpenShift v3 cluster.
68
69 Finally, you'll likely want to make one or more "pet" Docker containers,
70 potentially privileged, and use `dnf/yum` inside these. You can use e.g. `-v
71 /srv:/srv` so these containers can share content with your host (such as git
72 repositories). Note that if you want to share content between multiple Docker
73 containers and the host (e.g. your desktop session), you should execute (once):
74
75 ```
76 sudo chcon -R -h -t container_file_t /var/srv
77 ```
78
79 Future work
80 -----------
81
82  - GNOME Software support for both rpm-ostree/flatpak and possibly docker
83  - automated tests that run on this content