Alois Mahdal пре 10 година
родитељ
комит
92b383d082
1 измењених фајлова са 12 додато и 12 уклоњено
  1. 12
    12
      bin/eemk.in

+ 12
- 12
bin/eemk.in Прегледај датотеку

33
     ## ------ ##
33
     ## ------ ##
34
 
34
 
35
     abrtbz)
35
     abrtbz)
36
-        echo "Updating abrt to internal version"
36
+        think "Updating abrt to internal version"
37
         save_repo_for abrtbz
37
         save_repo_for abrtbz
38
         yum_update "abrt"
38
         yum_update "abrt"
39
         ;;
39
         ;;
40
 
40
 
41
     sl0)
41
     sl0)
42
-        echo "Turning off SELinux"
42
+        think "Turning off SELinux"
43
         setenforce 0
43
         setenforce 0
44
         sed -i~ -e 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config
44
         sed -i~ -e 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config
45
         ;;
45
         ;;
54
     olbrc)
54
     olbrc)
55
         LMI_CIMOM_PORT=5989
55
         LMI_CIMOM_PORT=5989
56
         mkdir -p "$(dirname $ENVIRON_SCRIPT)"
56
         mkdir -p "$(dirname $ENVIRON_SCRIPT)"
57
-        echo "Adding ol environment script $ENVIRON_SCRIPT to .bashrc"
57
+        think "Adding ol environment script $ENVIRON_SCRIPT to .bashrc"
58
         {
58
         {
59
             # warning: only echo if not login shell or rsync will freak out
59
             # warning: only echo if not login shell or rsync will freak out
60
             echo "shopt -q login_shell && echo setting up ol environment variables"
60
             echo "shopt -q login_shell && echo setting up ol environment variables"
75
 
75
 
76
     olconfig)
76
     olconfig)
77
         $0 sl0
77
         $0 sl0
78
-        echo "Bypassing SSL verification"
78
+        think "Bypassing SSL verification"
79
         echo "127.0.0.1 $(hostname)" >> /etc/hosts
79
         echo "127.0.0.1 $(hostname)" >> /etc/hosts
80
         service tog-pegasus start      # to generate server.pem
80
         service tog-pegasus start      # to generate server.pem
81
         service tog-pegasus stop
81
         service tog-pegasus stop
82
         cp "/etc/Pegasus/server.pem" \
82
         cp "/etc/Pegasus/server.pem" \
83
            "/etc/pki/ca-trust/source/anchors/remote-server.pem"
83
            "/etc/pki/ca-trust/source/anchors/remote-server.pem"
84
         update-ca-trust
84
         update-ca-trust
85
-        echo "Setting pegasus password"
85
+        think "Setting pegasus password"
86
         echo "pegasus:blank" | chpasswd
86
         echo "pegasus:blank" | chpasswd
87
         $0 olbrc
87
         $0 olbrc
88
         ;;
88
         ;;
94
         ;;
94
         ;;
95
 
95
 
96
     olcs)
96
     olcs)
97
-        echo "Starting a simple cimserver ($(comment_cimserver))"
97
+        think "Starting a simple cimserver ($(comment_cimserver))"
98
         start_cimserver
98
         start_cimserver
99
         ;;
99
         ;;
100
 
100
 
113
 
113
 
114
     OL)
114
     OL)
115
         save_repo_for openlmi-scripts
115
         save_repo_for openlmi-scripts
116
-        echo "Installing OpenLMI software"
116
+        think "Installing OpenLMI software"
117
         iniread -s mk.requires.sut mk-ol.ini | any_install
117
         iniread -s mk.requires.sut mk-ol.ini | any_install
118
-        echo "Installing testing tools"
118
+        think "Installing testing tools"
119
         iniread -s mk.requires.test mk-ol.ini | any_install
119
         iniread -s mk.requires.test mk-ol.ini | any_install
120
         $0 olconfig
120
         $0 olconfig
121
         ;;
121
         ;;
142
 
142
 
143
     rpmso)
143
     rpmso)
144
         path=rpms/old/`arch`
144
         path=rpms/old/`arch`
145
-        echo "Deploying old RPMs from $path"
145
+        think "Deploying old RPMs from $path"
146
         guess_pkgnames $path | yum_preerase
146
         guess_pkgnames $path | yum_preerase
147
         yum_install $path/*
147
         yum_install $path/*
148
         guess_pkgnames $path | installed_versions
148
         guess_pkgnames $path | installed_versions
150
 
150
 
151
     rpmsn)
151
     rpmsn)
152
         path=rpms/new/`arch`
152
         path=rpms/new/`arch`
153
-        echo "Deploying new RPMs from $path"
153
+        think "Deploying new RPMs from $path"
154
         guess_pkgnames $path | yum_preerase
154
         guess_pkgnames $path | yum_preerase
155
         yum_install $path/*
155
         yum_install $path/*
156
         guess_pkgnames $path | installed_versions
156
         guess_pkgnames $path | installed_versions
160
         save_repo_for beakerlib
160
         save_repo_for beakerlib
161
         save_repo_for rhpkg
161
         save_repo_for rhpkg
162
         save_repo_for beakerlib-redhat
162
         save_repo_for beakerlib-redhat
163
-        echo "Installing tested software"
163
+        think "Installing tested software"
164
         iniread -s mk.requires.sut mk-bk.ini | any_install
164
         iniread -s mk.requires.sut mk-bk.ini | any_install
165
-        echo "Installing testing tools"
165
+        think "Installing testing tools"
166
         iniread -s mk.requires.test mk-bk.ini | any_install
166
         iniread -s mk.requires.test mk-bk.ini | any_install
167
         ;;
167
         ;;
168
 
168