iWill
New Member.
728 views

Setup settings.txt file and some errors

Hi there.

This is the part of my settings.txt file:
mkdir /mnt/zmg
mount -t cifs -o username=Administrator,password=*****,domain=Provisorio,noserverino //10.20.30.1/zmg /mnt/zmg
insmod /mnt/zmg/tntfs.ko


Heres a print of the erros on bash:
https://imgur.com/a/JDUMK2x

What i'm doing wrong? Besides that, i can automatize "img" command in the last line on script?

Best Regards,
William
Labels (1)
Tags (2)
0 Likes
3 Replies
AutomaticReply Absent Member.
Absent Member.

Re: Setup settings.txt file and some errors

iwill,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

These forums are peer-to-peer, best effort, volunteer run and that if your issue
is urgent or not getting a response, you might try one of the following options:

- Visit https://www.microfocus.com/support-and-services and search the knowledgebase and/or check
all the other self support options and support programs available.
- Open a service request: https://www.microfocus.com/support
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.microfocus.com)
- You might consider hiring a local partner to assist you.
https://www.partnernetprogram.com/partnerfinder/find.html

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.microfocus.com/faq.php

Sometimes this automatic posting will alert someone that can respond.

If this is a reply to a duplicate posting or otherwise posted in error, please
ignore and accept our apologies and rest assured we will issue a stern reprimand
to our posting bot.

Good luck!

Your Micro Focus Forums Team
http://forums.microfocus.com



0 Likes
gturcsik Absent Member.
Absent Member.

Re: Setup settings.txt file and some errors

We use commands in settings.txt as the next:

tftp -m binary $PROXYADDR -c get $PROXYADDR:boot/script.s script.s
chmod +x script.s


This commands copy the scripts.s file from the primary server to the workstation.
In the z_xxx.cfg file we set that run automatically that script.s file.
The script.s file contains the img commands for the base image and addon images, some partition jobs, etc.
0 Likes
grahamch Contributor.
Contributor.

Re: Setup settings.txt file and some errors

Using the tftp command we download a script that will set the PROXADDR to that of the satellite server for the site, based upon the IP of the machine, and then launch the script with the source command

<code>
# Download imaging scripts
tftp $PROXYADDR -c get /Image-Scripts/setPROXYADDR.s /bin/setPROXYADDR.s

# Make the imaging scripts executable
chmod a+x /bin/setPROXYADDR.s

# Set the value of PROXYADDR to the address of the ZCMSAT box for the site
source /bin/setPROXYADDR.s
</code>
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.