Skip to content

Instantly share code, notes, and snippets.


  • Japan
Block or report user

Report or block gowatana

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ovms342.ks
# Kickstart file for Oracle VM Server 3.4.2
eula Accepted
url --url=$tree
lang ja_JP.UTF-8
keyboard jp106
network --onboot yes --device eth0 --bootproto dhcp --noipv6
ovsagent --iscrypted XXXXXXXXXX
View ce.vmdk
# Disk DescriptorFile
# Extent description
RW 14540800 VMFS "ce.img"
View ntnx-cloud-init-test.txt
hostname: cloudinit-test-01
- path: /opt/test.f
content: |
cloud-init no
test file
View powernsx-prompt.ps1
$module_list = @(
Import-Module $module_list
$window_width = 120
$window_height = 40
$window_buffer = 3000
View vc-task.csv
Key Label Summary
host.OperationCleanupManager.createEntry createEntry createEntry
host.OperationCleanupManager.updateEntry updateEntry updateEntry
host.OperationCleanupManager.queryEntry queryEntry queryEntry
vm.guest.GuestOperationsManager.queryDisabledMethods Query disabled guest operations Returns a list of guest operations not supported by a virtual machine updateHostSpecification updateHostSpecification updateHostSubSpecification updateHostSubSpecification retrieveHostSpecification retrieveHostSpecification deleteHostSubSpecification deleteHostSubSpecification deleteHostSpecification deleteHostSpecification
View ntnx-health_checks.csv
0005566f-98ae-3f49-14de-0050568a38fb::111000 E-mail alerts check
0005566f-98ae-3f49-14de-0050568a38fb::103069 Host FQDN resolution
0005566f-98ae-3f49-14de-0050568a38fb::110253 Vstore VM Files Consistency Check
0005566f-98ae-3f49-14de-0050568a38fb::6005 CVM to CVM Connectivity
0005566f-98ae-3f49-14de-0050568a38fb::110012 Cloud Gflags Check
0005566f-98ae-3f49-14de-0050568a38fb::110248 Metro Vstore Symlinks Check
0005566f-98ae-3f49-14de-0050568a38fb::110006 Remote Site configuration
0005566f-98ae-3f49-14de-0050568a38fb::110007 Remote Site virtual external IP(VIP)
0005566f-98ae-3f49-14de-0050568a38fb::110249 Remote Stargate Version Check
0005566f-98ae-3f49-14de-0050568a38fb::110246 Clone Count Check
import sys
import json
import requests
import datetime
args = sys.argv
conf_file = args[1]
metrics_file_name = args[2]
with open(conf_file, "r") as file:
View prism-config.json
"prism_address": "Nutanix Cluster VIP",
"user_name": "ユーザ",
"password": "パスワード"
import xml.etree.ElementTree as ET
cvm_xml_file_in = "./cvm.xml"
cvm_xml_file_out = "./cvm-10GB.xml"
cvm_memory_gb = 10
cvm_memory_kb = cvm_memory_gb * 1024 * 1024
tree = ET.parse(cvm_xml_file_in)
root = tree.getroot()
View timestamp_us2jst.ps1
function timestamp_us2jst($timestamp_us){
$ts_base = Get-Date "1970/1/1"
$ts_base = $ts_base.AddHours(9)
$ts_base.AddSeconds($timestamp_us / 1000000)
You can’t perform that action at this time.