Start NFS and SMB services on fedora platforms

after installing them in the devstack plugin.

Change-Id: Idddbcdf8750a041aa79943f9950c20c4d9d35502
Closes-Bug: #1670434
(cherry picked from commit af7ac539aa)
This commit is contained in:
Tom Barron 2017-03-06 12:18:25 -05:00
parent 529f638c24
commit d4d8f174d2
1 changed files with 4 additions and 0 deletions

View File

@ -642,6 +642,10 @@ function _install_nfs_and_samba {
check_nfs_kernel_service_state_ubuntu
elif is_fedora; then
install_package nfs-utils samba
sudo systemctl enable smb.service
sudo systemctl start smb.service
sudo systemctl enable nfs-server.service
sudo systemctl start nfs-server.service
elif is_suse; then
install_package nfs-kernel-server nfs-utils samba
else