Skip to content

Commit

Permalink
Merge pull request #9 from mchf/Code-11-SP4
Browse files Browse the repository at this point in the history
Replaced remaining .site using .suse
  • Loading branch information
mchf committed Jun 24, 2015
2 parents d389f24 + 8946492 commit 46d75cc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2.17.27
2.17.28
7 changes: 7 additions & 0 deletions package/yast2-ca-management.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jun 24 07:40:25 UTC 2015 - mfilka@suse.com

- bnc#922765
- changed default TLD from .site to .suse in AY client
- 2.17.28

-------------------------------------------------------------------
Mon Jun 15 20:17:41 UTC 2015 - mfilka@suse.com

Expand Down
8 changes: 3 additions & 5 deletions src/ca_mgm_auto.ycp
Expand Up @@ -674,10 +674,8 @@ boolean Read() {
boolean found = servercert != nil?true:false;

string hostname = "linux";
string domain = "site";
map retmap = (map) SCR::Execute (.target.bash_output,
"/bin/hostname -s",
$[] );
string domain = Hostname::DEFAULT_DOMAIN;
map retmap = (map) SCR::Execute (.target.bash_output, "/bin/hostname -s", $[] );

if (retmap["exit"]:1 == 0)
{
Expand All @@ -690,7 +688,7 @@ boolean Read() {

if (retmap["exit"]:1 == 0)
{
domain = strip(retmap["stdout"]:"site");
domain = strip(retmap["stdout"]:Hostname::DEFAULT_DOMAIN);
}

if(found)
Expand Down

0 comments on commit 46d75cc

Please sign in to comment.