Found out all of the nics cards on a system

"'Nick Anderson' via help-cfengine" <[email protected]> Tue, 19 Nov 2024 12:51:34 -0600
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
        What i need now is to get the list of all the networds
        cards present in one system, to configure specific one on
        an ipv4 network. I do use the sys.interfaces variables.
        But this get me back uniquely the configured interfaces,
        not alla of then.

  Do any of the sys vars contain what you are looking for (`cf-promises
  --show-vars')

  Perhaps `sys.interfaces_data'?

  ,----
  | bundle agent __main__
  | {
  |      vars:
  |         "sys_interfaces_data_keys"
  |           slist => getindices( "sys.interfaces_data" );
  |
  |       reports:
  |           "$(sys_interfaces_data_keys)";
  | }
  `----

  ,----
  | R: lo
  | R: wlp0s20f3
  | R: virbr0
  | R: br-a7d465b9949b
  | R: docker0
  | R: enx0892048803e7
  | R: enx5cff35c6864b
  | R: vboxnet0
  | R: tun0
  `----

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/help-cfengine/87y11fgipp.fsf%40northern.tech.




--
Nick Anderson | Doer of Things | (+1) 785-550-1767 | https://northern.tech

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/help-cfengine/87y11fgipp.fsf%40northern.tech.