Browse code

Update ostree installer config to 2.0

Change-Id: If99b0fc5f33bdce1822be6104e738729f654f06a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3701
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>

Danut Moraru authored on 2017/09/06 09:04:50
Showing 4 changed files
... ...
@@ -1,2 +1,2 @@
1
-OSTREEREPOURL=https://dl.bintray.com/vmware/photon/rpm-ostree/1.0
2
-OSTREEREFS=photon/1.0/x86_64/minimal
1
+OSTREEREPOURL=https://dl.bintray.com/vmware/photon/rpm-ostree/2.0
2
+OSTREEREFS=photon/2.0/x86_64/minimal
... ...
@@ -2,12 +2,6 @@
2 2
 
3 3
 \r \s \v
4 4
 
5
-An RPM-OSTree repo is created at '/srv/rpm-ostree/repo' directory with
6
-the default Refspec 'photon/1.0/x86_64/minimal'.
7
-This repo is exposed via web server for RPM-OSTree Host installations.
8
-Point your RPM-OSTree Host to 'http://<this server's address>' for pulling the repo.
9
-
10
-
11
-Experimental - do not use in production.
12
-
5
+Follow Photon RPM-OSTree guide to compose an OSTree repo.
6
+RPM-OSTree hosts will point to 'http://<this server's IP address>' to install and upgrade.
13 7
 
... ...
@@ -39,7 +39,6 @@ class OstreeServerInstaller(Installer):
39 39
         self.run("ln -s /etc/yum.repos.d/photon-iso.repo {}/srv/rpm-ostree/photon-iso-ostree.repo".format(self.photon_root))
40 40
         self.run("ln -s /etc/yum.repos.d/photon-updates.repo {}/srv/rpm-ostree/photon-updates-ostree.repo".format(self.photon_root))
41 41
         self.run("ln -s /etc/yum.repos.d/photon-extras.repo {}/srv/rpm-ostree/photon-extras-ostree.repo".format(self.photon_root))
42
-        self.run("ln -s /etc/yum.repos.d/lightwave.repo {}/srv/rpm-ostree/lightwave-ostree.repo".format(self.photon_root))
43 42
         self.run("cp ./ostree-httpd.conf {}/srv/rpm-ostree/".format(self.photon_root))
44 43
         # Use a custom httpd service file for ostree server
45 44
         self.run("mkdir {}/etc/systemd/system/httpd.service.d".format(self.photon_root))
... ...
@@ -3,9 +3,9 @@
3 3
 
4 4
     "osname": "photon",
5 5
 
6
-    "ref": "photon/1.0/x86_64/minimal",
6
+    "ref": "photon/2.0/x86_64/minimal",
7 7
 
8
-    "automatic_version_prefix": "1.0_minimal",
8
+    "automatic_version_prefix": "2.0_minimal",
9 9
 
10 10
     "repos": ["photon", "photon-updates"],
11 11
 
... ...
@@ -17,17 +17,30 @@
17 17
 
18 18
     "documentation": false,
19 19
 
20
-    "packages": ["glibc", "zlib", "binutils", "gmp", "mpfr", "libgcc", "libstdc++","libgomp",
21
-                "pkg-config", "ncurses", "bash", "bzip2", "cracklib", "cracklib-dicts", "shadow",
22
-                "procps-ng", "iana-etc", "readline", "coreutils", "bc", "libtool", "net-tools",
23
-                "findutils", "xz", "grub2", "iproute2", "util-linux", "linux",
24
-                "attr", "libcap", "kmod", "expat", "dbus", "file",
25
-                "sed", "grep", "cpio", "gzip",
26
-                "openssl", "ca-certificates", "curl",
27
-                "systemd",
28
-                "openssh", "iptables",
29
-                "photon-release",
20
+    "packages": [
21
+                "attr",
22
+                "bash", "bc", "binutils", "bridge-utils", "bzip2",
23
+                "ca-certificates", "coreutils", "cpio", "cracklib", "cracklib-dicts", "curl",
24
+                "dbus", "docker", "dracut", "dracut-tools",
25
+                "expat",
26
+                "file", "findutils",
27
+                "glibc", "gmp", "grep", "grub2", "gzip",
28
+                "iana-etc", "iproute2", "iptables",
29
+                "kmod",
30
+                "libcap", "libgcc", "libgomp", "libstdc++", "libtool", "linux",
31
+                "mpfr",
32
+                "ncurses", "net-tools", "nss-altfiles",
33
+                "openssh", "openssl",
34
+                "photon-release", "pkg-config", "procps-ng",
35
+                "readline", "rpm-ostree",
36
+                "sed", "shadow", "systemd",
37
+                "util-linux",
30 38
                 "vim",
31
-                "docker", "bridge-utils",
32
-                "dracut", "dracut-tools", "rpm-ostree", "nss-altfiles", "which"]
39
+                "which",
40
+                "xz",
41
+                "zlib"
42
+    ]
43
+
44
+
33 45
 }
46
+