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 | dpkg-divert --local --rename --add /sbin/initctl |
---|
3 | ln -s /bin/true /sbin/initctl |
---|
4 | #mv /etc/fstab /etc/fstab.original 2>/dev/null |
---|
5 | #mv /etc/mtab /etc/mtab.original 2>/dev/null |
---|
6 | |
---|
7 | #TODO: fichero etc/hosts |
---|
8 | #TODO: fichero etc/resolv.conf |
---|
9 | echo "ogClient" > /etc/hostname |
---|
10 | |
---|
11 | #export PASSROOT=og |
---|
12 | #dpkg-reconfigure passwd |
---|
13 | #echo "root:$PASSROOT" | chpasswd |
---|
14 | |
---|
15 | |
---|
16 | #for i in pts/0 pts/1 pts/2 pts/3 do |
---|
17 | # |
---|
18 | # |
---|
19 | #done |
---|
20 | #TODO: introducir mas consoluas para el acceso como root. |
---|
21 | echo "pts/0" >> /etc/securetty |
---|
22 | echo "pts/1" >> /etc/securetty |
---|
23 | echo "pts/2" >> /etc/securetty |
---|
24 | echo "pts/3" >> /etc/securetty |
---|
Note: See
TracBrowser
for help on using the repository browser.