source: repoman/bin/getRepoIface @ 3b8ef0d

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
Last change on this file since 3b8ef0d was 01ae374d, checked in by Fredy <aluque@…>, 7 years ago

Added main repo interface parameter to sendFileMcast script to solve problems when more than one interface are available

  • Property mode set to 100755
File size: 245 bytes
RevLine 
[01ae374d]1#!/bin/bash
2
3# This script takes the IPlocal variable of the repository
4# and returns the system interface
5# Alfredo Luque <aluque@soleta.eu>
6
7source /opt/opengnsys/etc/ogAdmRepo.cfg
8
9ip addr show | grep $IPlocal | cut -f2 | awk '{ print $NF }'
Note: See TracBrowser for help on using the repository browser.