mount -t cifs -o user=zhanghu05,pass=P@ssw0rdzhang,domain=sinochem-tech //10.144.129.251/tools /media/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
doorman: | |
image: doorman | |
container_name: "doorman" | |
build: | |
context: ./doorman | |
dockerfile: Dockerfile_doorman | |
links: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# | |
try: | |
from pyghmi.ipmi import command, fru, sdr, bmc | |
except ImportError: | |
command = None | |
ipmi_cmd = command.Command( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clouds: | |
sinochem: | |
region_name: "yzct" | |
auth: | |
auth_url: http://ostack05.yzct.sinochem.cloud:5000/v3 | |
project_id: 8c06efa4eca146e3a61ad35898f9728c | |
project_name: "admin" | |
password: "SinochemAdmin" | |
username: "admin" | |
user_domain_name: "Default" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
''' | |
ipmi lan print: | |
IP Address Source : Static Address | |
IP Address : 10.144.128.215 | |
Subnet Mask : 255.255.255.0 | |
MAC Address : 6c:92:bf:32:e2:43 | |
SNMP Community String : Inspur |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StrictHostKeyChecking no | |
UserKnownHostsFile /dev/null |
dmesg -L --ctime -d --kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /etc/ -maxdepth 1 -type l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rpm -q --qf '%{version}\n' salt-ssh |