<div style="line-height:19.7999992370605px">Hi, <br><br>I am rather new to augeas and already have a problem I cannot solve on my own or using googe.<br><br>Trying to fiddle with an existing entry in /etc/hosts, I found a way to change the canonical name interactively:<br><br>augtool -b<br>set /files/etc/hosts/*[ipaddr = '192.168.0.5']/canonical 'h<a href="http://host.test.com/" target="_blank">ost.test.com</a>'<br>save<br><br>But this does not work:<br><br>augtool -bs set /files/etc/hosts/*[ipaddr = '<span style="line-height:19.7999992370605px">192.168.0.5</span>']/canonical 'h<a href="http://host.test.com/" target="_blank">ost.test.com</a>'<br><br>Why's that?<br><br>Any help much appreciated - thanks in advance <br><br>Regards</div><div style="line-height:19.7999992370605px"><br></div><div style="line-height:19.7999992370605px">Jochen</div>