tmt/steps/provision/vagrant.py
def add_raw_config(self, config):
        """ Add arbitrary config entry into Vagrantfile
            right before last 'end'.
            Prepends with `config_prefix`.
        """
        vfdata = self.vf_read()

        # Lookup last 'end' in Vagrantfile
        i = 0
        for line in reversed(vfdata):
            i -= 1
            if (line.find('end') != -1):
                break

        vfdata = vfdata[:i] \
            + [self.config_prefix + config] \
            + vfdata[i:]

        return self.vf_write(vfdata)
 Add arbitrary config entry into Vagrantfile
            right before last 'end'.
            Prepends with `config_prefix`.
        
Add arbitrary config entry into Vagrantfile
right before last 'end'.
Add arbitrary config entry into Vagrantfile right before last ' end ' .
def add_raw_config(self, config):
        vfdata = self.vf_read()
        i = 0
        for line in reversed(vfdata):
            i -= 1
            if (line.find('end') != -1):
                break
        vfdata = vfdata[:i] \
            + [self.config_prefix + config] \
            + vfdata[i:]
        return self.vf_write(vfdata)
def add_raw_config ( self , config ) : vfdata = self . vf_read ( ) i = 0 for line in reversed ( vfdata ) : i -= 1 if ( line . find ( 'end' ) != - 1 ) : break vfdata = vfdata [ : i ] + [ self . config_prefix + config ] + vfdata [ i : ] return self . vf_write ( vfdata )
Add arbitrary config entry into Vagrantfile
right before last 'end'.
Add arbitrary config entry into Vagrantfile right before last ' end ' .
""" Add arbitrary config entry into Vagrantfile
            right before last 'end'.
            Prepends with `config_prefix`.
        """ # Lookup last 'end' in Vagrantfile
self
config