Skip to content

Commit

Permalink
Hide spokes in Silverblue and Workstation
Browse files Browse the repository at this point in the history
Hide some of the spokes in variants Silverblue and Workstation Live.
  • Loading branch information
poncovka committed Jun 11, 2019
1 parent e67f2c5 commit 31ef00b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/liveinst/liveinst
Expand Up @@ -74,7 +74,7 @@ fi
if [ -f /etc/os-release ]; then
variantid=$( grep VARIANT_ID /etc/os-release | tail -1 | cut -d= -f2)
if [ "$variantid" = "workstation" ]; then
export ANACONDA_PRODUCTVARIANT="Workstation"
export ANACONDA_PRODUCTVARIANT="Workstation Live"
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion data/product.d/fedora-silverblue.conf
Expand Up @@ -6,4 +6,4 @@ variant_name = Silverblue

[Base Product]
product_name = Fedora
variant_name = Workstation
variant_name = Workstation Live
15 changes: 15 additions & 0 deletions data/product.d/fedora-workstation-live.conf
@@ -0,0 +1,15 @@
# Anaconda configuration file for Fedora Workstation Live.

[Product]
product_name = Fedora
variant_name = Workstation Live

[Base Product]
product_name = Fedora
variant_name = Workstation

[User Interface]
hidden_spokes =
NetworkSpoke
PasswordSpoke
UserSpoke
7 changes: 6 additions & 1 deletion tests/nosetests/pyanaconda_tests/product_test.py
Expand Up @@ -81,14 +81,19 @@ def fedora_products_test(self):
"Fedora", "Workstation",
["fedora.conf", "fedora-workstation.conf"]
)
self._check_default_product(
"Fedora", "Workstation Live",
["fedora.conf", "fedora-workstation.conf", "fedora-workstation-live.conf"]
)
self._check_default_product(
"Fedora", "AtomicHost",
["fedora.conf", "fedora-atomic-host.conf"]

)
self._check_default_product(
"Fedora", "Silverblue",
["fedora.conf", "fedora-workstation.conf", "fedora-silverblue.conf"]
["fedora.conf", "fedora-workstation.conf", "fedora-workstation-live.conf",
"fedora-silverblue.conf"]
)

def rhel_products_test(self):
Expand Down

0 comments on commit 31ef00b

Please sign in to comment.