feat(xo-web/remotes): expose mount options field for SMB (#4067)
Fixes #4063
This commit is contained in:
parent
447f2f9506
commit
71997d4e65
@ -2,6 +2,8 @@
|
||||
|
||||
### Enhancements
|
||||
|
||||
- [Settings/remotes] Expose mount options field for SMB [#4063](https://github.com/vatesfr/xen-orchestra/issues/4063) (PR [#4067](https://github.com/vatesfr/xen-orchestra/pull/4067))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- [Continuous Replication] Fix VHD size guess for empty files [#4105](https://github.com/vatesfr/xen-orchestra/issues/4105) (PR [#4107](https://github.com/vatesfr/xen-orchestra/pull/4107))
|
||||
|
@ -547,6 +547,7 @@ const messages = {
|
||||
remoteSmbPlaceHolderPassword: 'Password',
|
||||
remoteSmbPlaceHolderDomain: 'Domain',
|
||||
remoteSmbPlaceHolderAddressShare: '<address>\\\\<share> *',
|
||||
remoteSmbPlaceHolderOptions: 'Custom mount options',
|
||||
remotePlaceHolderPassword: 'password(fill to edit)',
|
||||
|
||||
// ------ New Storage -----
|
||||
|
@ -226,6 +226,16 @@ const COLUMNS_SMB_REMOTE = [
|
||||
),
|
||||
name: _('remoteShare'),
|
||||
},
|
||||
{
|
||||
name: _('remoteOptions'),
|
||||
itemRenderer: remote => (
|
||||
<Text
|
||||
data-remote={remote}
|
||||
onChange={_editRemoteOptions}
|
||||
value={remote.options || ''}
|
||||
/>
|
||||
),
|
||||
},
|
||||
COLUMN_STATE,
|
||||
{
|
||||
itemRenderer: (remote, { formatMessage }) => (
|
||||
|
@ -300,6 +300,19 @@ export default decorate([
|
||||
value={domain}
|
||||
/>
|
||||
</div>
|
||||
<div className='input-group form-group'>
|
||||
<span className='input-group-addon'>-o</span>
|
||||
<input
|
||||
className='form-control'
|
||||
name='options'
|
||||
onChange={effects.linkState}
|
||||
placeholder={formatMessage(
|
||||
messages.remoteSmbPlaceHolderOptions
|
||||
)}
|
||||
type='text'
|
||||
value={options}
|
||||
/>
|
||||
</div>
|
||||
</fieldset>
|
||||
)}
|
||||
<div className='form-group'>
|
||||
|
Loading…
Reference in New Issue
Block a user