Skip to content

Commit

Permalink
Base, minimal and full (with manuals) configurations for ostree
Browse files Browse the repository at this point in the history
Change-Id: I61e509ab9ff42693ce6c062b8a71ecdf0f51735e
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3711
Tested-by: gerrit-photon <[email protected]>
Reviewed-by: Alexey Makhalov <[email protected]>
  • Loading branch information
dmoraru authored and YustasSwamp committed Sep 8, 2017
1 parent 5e5f358 commit 610f4ec
Show file tree
Hide file tree
Showing 5 changed files with 414 additions and 12 deletions.
2 changes: 1 addition & 1 deletion installer/ostree-server-greeting.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Welcome to Photon 1.0 RPM-OSTree Server
Welcome to Photon 2.0 RPM-OSTree Server

\r \s \v

Expand Down
2 changes: 2 additions & 0 deletions installer/ostreeserverinstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def finalize_system(self):

self.run("mkdir -p {}/srv/rpm-ostree/repo".format(self.photon_root))
self.run("cp ./photon-base.json {}/srv/rpm-ostree/".format(self.photon_root))
self.run("cp ./photon-minimal.json {}/srv/rpm-ostree/".format(self.photon_root))
self.run("cp ./photon-full.json {}/srv/rpm-ostree/".format(self.photon_root))
self.run("ln -s /etc/yum.repos.d/photon.repo {}/srv/rpm-ostree/photon-ostree.repo".format(self.photon_root))
self.run("ln -s /etc/yum.repos.d/photon-iso.repo {}/srv/rpm-ostree/photon-iso-ostree.repo".format(self.photon_root))
self.run("ln -s /etc/yum.repos.d/photon-updates.repo {}/srv/rpm-ostree/photon-updates-ostree.repo".format(self.photon_root))
Expand Down
17 changes: 6 additions & 11 deletions installer/photon-base.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"comment": "Photon Minimal OSTree",
"comment": "Photon Base OSTree",

"osname": "photon",

"ref": "photon/2.0/x86_64/minimal",
"ref": "photon/2.0/x86_64/base",

"automatic_version_prefix": "2.0_minimal",
"automatic_version_prefix": "2.0_base",

"repos": ["photon", "photon-updates"],

Expand All @@ -18,17 +18,15 @@
"documentation": false,

"packages": [
"attr",
"bash", "bc", "binutils", "bridge-utils", "bzip2",
"bash", "bc", "bridge-utils", "bzip2",
"ca-certificates", "coreutils", "cpio", "cracklib", "cracklib-dicts", "curl",
"dbus", "docker", "dracut", "dracut-tools",
"expat",
"file", "findutils",
"glibc", "gmp", "grep", "grub2", "gzip",
"iana-etc", "iproute2", "iptables",
"kmod",
"libcap", "libgcc", "libgomp", "libstdc++", "libtool", "linux",
"mpfr",
"libcap", "libgcc", "libstdc++", "libtool", "linux",
"ncurses", "net-tools", "nss-altfiles",
"openssh", "openssl",
"photon-release", "pkg-config", "procps-ng",
Expand All @@ -39,8 +37,5 @@
"which",
"xz",
"zlib"
]


]
}

Loading

0 comments on commit 610f4ec

Please sign in to comment.