Ok,
I tried the script with my ip for ip4 address and 8.8.8.8 and 8.8.4.4
and with my actual ip and hostname.

Still getting Error: NetworkManager is not running.

[root@mail ~]# sh qmt-host.sh

Call this script as follows (example below):
qmt-host.sh hostname ipv4.address ipv4.gateway
qmt-host.sh me.mydomain.com 192.168.0.2 192.168.0.1

Machine ID: f4d13c7c7b144261851b451e00bb999b
Boot ID: a73c2022069042cf8d8e58ca859c787e
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-327.36.3.el7.x86_64
Architecture: x86-64
Error: NetworkManager is not running.


On Nov 29, 2016, at 08:26 AM, Eric Broch <[email protected]> wrote:

Try running this: 
https://raw.githubusercontent.com/qmtoaster/scripts/master/qmt_host.sh
Or
Take a look here:
http://ask.xmodulo.com/configure-static-ip-address-centos7.html
You must get rid of the IPv6 name servers



On 11/29/2016 4:37 AM, David Overman wrote:
[root@mail ~]# systemctl start network
[root@mail ~]# nmtui
NetworkManager is not running.


Do you think this may have something to do with my Centos Instance running on A 
digitalocean droplet?

On Nov 28, 2016, at 07:37 AM, Eric Broch <[email protected]> wrote:

# systemctl start network


On 11/28/2016 12:16 AM, David Overman wrote:
Failed to start NetworkManager.service: Unit NetworkManager.service is
masked


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to