source: client/shared/scripts/configureOS @ 9e63173

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
Last change on this file since 9e63173 was f3850507, checked in by adv <adv@…>, 14 years ago

version 1.0.1 #391 guion de cliente para el proceso de postconfiguracion de un nuevo sistema opertativo restaurado

git-svn-id: https://opengnsys.es/svn/branches/version1.0@1946 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 532 bytes
Line 
1#!/bin/bash
2#1 disk
3#2 partition
4
5PARTSIZE=$(ogGetPartitionSize $1 $2)
6FSSIZE=$(ogGetFsSize $1 $2)
7if [ $FSSIZE -lt $PARTSIZE ]; then
8        echo "Extender sistema de archivos."
9        ogExtendFs $1 $2
10fi
11
12# Cambiar nombre en sistemas Windows y quitar usuario de acceso por defecto.
13if [ "$(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.
19fi
Note: See TracBrowser for help on using the repository browser.