Skip to content

Commit

Permalink
Atualização do README
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoifsc committed Aug 21, 2019
1 parent df799cb commit 00af4aa
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions fog/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@

## In the file [Dockerfile](Dockerfile):

### How work the command '/bin/echo -e "\nNormal\n191.36.8.25\nY\nbond0\nN\nN\nN\nN\nY\n\n\n" | /bin/bash installfog.sh'
### How work the command '/bin/echo -e "\nNormal\nY\neth0\nN\nN\n\n\n\nY\n\n\n" | /bin/bash installfog.sh'

Is very simple, for each interaction have a \n (line break) in this case:

* The first \n is a default option for SO system, in my case;
* The first \n is a default option for SO system, in my case "2) Debian Based Linux";
* Next, What type of installation would you like to do? [N/s (Normal/Storage)];
* What is the IP address to be used by this FOG Server? [172.17.0.1]. Here a type de IP address for my server;
* Would you like to change the default network interface from eth0?
* Would you like to change the default network interface from enp0s3?
* * If you are not sure, select No. [y/N]. I needed change the interface, so a type Y\n;
* * For Yes, show another option: What network interface would you like to use? In my case bond0\n
* * For Yes, show another option: What network interface would you like to use? In my case eth0\n
* Would you like to change the default hostname sj-lin-imglabdeb9-123?
* * The fully qualified hostname is used for the webserver certificate.
* * If you are not sure, select No. [y/N] N\n
* Would you like to setup a router address for the DHCP server? [Y/n] N\n
* Would you like DHCP to handle DNS? [Y/n] N\n
* Would you like to use the FOG server for DHCP service? [y/N] N\n
* This version of FOG has internationalization support, would
* * you like to install the additional language packs? [y/N] N\n
* Would you like to use the FOG server for DHCP service? [y/N] \n
* This version of FOG has internationalization support, would
* * you like to install the additional language packs? [y/N] \n
* Are you sure you wish to continue (Y/N) Y\n
* Is the MySQL password blank? (Y/n) \n
* And de last option: Press [Enter] key when database is updated/installed. \n
Expand All @@ -25,12 +27,11 @@ Is very simple, for each interaction have a \n (line break) in this case:
If you want to change default port:

```sh
sh -c '/bin/sed -i "s/^Listen 80.*/Listen 8083/g" /etc/apache2/ports.conf'
sh -c '/bin/sed -i "s/^Listen 80.*/Listen 8083/g" /etc/apache2/ports.conf'
sh -c '/bin/sed -i "s/Listen 443$/Listen 44383/g" /etc/apache2/ports.conf'
sh -c '/bin/sed -i "1s/.*/<VirtualHost *>/g" /etc/apache2/sites-enabled/000-default.conf'
sh -c '/bin/sed -i "1s/.*/<VirtualHost *>/g" /etc/apache2/sites-enabled/000-default.conf'
sh -c '/bin/sed -i "1s/.*/<VirtualHost *>/g" /etc/apache2/sites-enabled/001-fog.conf'
sh -c '/bin/sed -i "s/191.36.8.25/191.36.8.25:8083/g" /tftpboot/default.ipxe'
```

else, you can remove this lines.

0 comments on commit 00af4aa

Please sign in to comment.