Skip to content

Commit

Permalink
disable the [Clone] button in AutoYaST (bsc#950098)
Browse files Browse the repository at this point in the history
the registration module does not support cloning (yet)

- 3.1.160
  • Loading branch information
lslezak committed Oct 13, 2015
1 parent b58a12d commit 8cfa13f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-registration.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 13 09:04:45 UTC 2015 - lslezak@suse.cz

- disable the [Clone] button in the AutoYaST configuration UI, the
registration module does not support cloning (bsc#950098)
- 3.1.160

-------------------------------------------------------------------
Mon Oct 12 07:44:14 UTC 2015 - lslezak@suse.cz

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-registration.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-registration
Version: 3.1.159
Version: 3.1.160
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 3 additions & 0 deletions src/clients/scc_auto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ def handle_autoyast(func, param)
when "Packages"
# Return needed packages
auto_packages
when "Read"
log.error "Cloning is not supported by this YaST module"
false
when "Write"
# Write given settings
write
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/customer_center.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ X-SuSE-YaST-AutoInstClient=scc_auto
X-SuSE-YaST-RootOnly=false
X-SuSE-YaST-Group=Software
X-SuSE-YaST-AutoInst=configure
X-SuSE-YaST-AutoInstClonable=true
X-SuSE-YaST-AutoInstClonable=false
X-SuSE-YaST-AutoInstRequires=lan,proxy
X-SuSE-YaST-AutoInstSchema=registration.rnc
X-SuSE-YaST-AutoInstResource=suse_register
Expand Down

0 comments on commit 8cfa13f

Please sign in to comment.