def _update_fstab(self, vol_configs):
        # Load the /etc/fstab template and the ec2 defaults
        fstab_entries = []
        fstab_entries.extend(EC2_FSTAB_DEFAULTS)

        # Add entries for all attached volumes
        for vol_label, vol_conf in vol_configs.items():
            logger.info("Configuring fstab entries for %s", vol_label)
            # Configure the mount point for the whole volume
            fstab_entries.append(
                fstabEntry(
                    device_name=vol_conf['device'],
                    mount_point=vol_conf['mount_point'],
                    fs_type=vol_conf['filesystem'],
                    options='noatime',
                    dump_freq=0,
                    pass_num=0,
                )
            )

            # Configure all of the bound directories
            for ebs_bind_confs in vol_conf['ebs_bound_dirs']:
                # Add a directory bind line
                # eg. /vol/fs/var/log/pstat /var/log/pstat none bind 0 0
                fstab_entries.append(
                    fstabEntry(
                        device_name=ebs_bind_confs['src_path'],
                        mount_point=ebs_bind_confs['bind_path'],
                        fs_type='none',
                        options='bind',
                        dump_freq=0,
                        pass_num=0,
                    )
                )

        # Push the /etc/fstab file to the server
        with NamedTemporaryFile() as fstab_tpl_f:
            fstab_tpl_f.write(EC2_FSTAB_TPL)
            fstab_tpl_f.flush()
            context = {
                'fstab_entries': fstab_entries,
            }
            tpl_dir, tpl_name = os.path.split(fstab_tpl_f.name)
            with hide(*fab_output_hides):
                upload_template(
                    tpl_name,
                    '/etc/fstab',
                    context=context,
                    use_jinja=True,
                    template_dir=tpl_dir,
                    mode=644,
                    use_sudo=True,
                )
Update /etc/fstab to include the configured EBS volumes and all of
dataset/ETHPy150Open winhamwr/neckbeard/neckbeard/cloud_provisioners/aws/ec2.py/Ec2NodeDeployment._update_fstab