title: Execute a local bash variable inside double quotes
body: <p>Hypothetically I have four webservers that I need to add a line of HTML to a file. As you can see I need the integer to appear after <strong>cluster=</strong></p>
  
  <pre><code>for i in 01 02 03 04; do ssh web.${i}.domain.com 'echo "&lt;img src=beacon.gif?cluster=${i}&gt;" &gt;&gt; /var/www/index.html'; done
  </code></pre>
  
  <p>How can this be accomplished?  Thanks in advance.</p>