FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


os:linux:set:index.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
os:linux:set:index.html [2018/04/19 00:03]
kurihara [Table]
os:linux:set:index.html [2019/02/11 00:40] (current)
kurihara
Line 13: Line 13:
 $ fab -l |grep set $ fab -l |grep set
  
-$ fab -H $H auth.pro  set.centos7_init +$ fab -H $H   set.centos7_init 
-$ fab -H $H auth.pro  set.centos6_init+$ fab -H $H   set.centos6_init
 </sxh> </sxh>
  
Line 22: Line 22:
 $ H=test-server-1 $ H=test-server-1
  
-$ fab -H $H auth.pro -- hostname+$ fab -H $H  -- hostname
  
 # LANG # LANG
-$ fab -H $H auth.pro -- localectl status   #Check locale CentOS7 +$ fab -H $H  -- localectl status   #Check locale CentOS7 
-$ fab -H $H auth.pro -- 'localectl list-locales |egrep -i "ja|jp"' # Check available locale list+$ fab -H $H  -- 'localectl list-locales |egrep -i "ja|jp"' # Check available locale list
 </sxh> </sxh>
  
Line 39: Line 39:
 from fabric.contrib import files from fabric.contrib import files
 from fabric.contrib.files import sed, append, contains from fabric.contrib.files import sed, append, contains
 +from datetime import datetime
  
 FHHOME=os.environ["FHHOME"] FHHOME=os.environ["FHHOME"]


os/linux/set/index.html.1524063793.txt.gz · Last modified: 2018/04/19 00:03 by kurihara