918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Line | |
---|
1 | #!/bin/bash |
---|
2 | #1 disk |
---|
3 | #2 partition |
---|
4 | |
---|
5 | PARTSIZE=$(ogGetPartitionSize $1 $2) |
---|
6 | FSSIZE=$(ogGetFsSize $1 $2) |
---|
7 | if [ $FSSIZE -lt $PARTSIZE ]; then |
---|
8 | echo "Extender sistema de archivos." |
---|
9 | ogExtendFs $1 $2 |
---|
10 | fi |
---|
11 | |
---|
12 | # Cambiar nombre en sistemas Windows y quitar usuario de acceso por defecto. |
---|
13 | if [ "$(ogGetOsType $1 $2)" = "Windows" ]; then |
---|
14 | HOST=$(ogGetHostname) |
---|
15 | HOST=${HOST:-"pc"} |
---|
16 | echo " Cambiar nombre Windows a \"$HOST\" " |
---|
17 | ogSetWindowsName $1 $2 "$HOST" |
---|
18 | #ogSetWinlogonUser $1 $2 " " # Descomentar para cambiar usuario de inicio. |
---|
19 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.